Download ML7105 User`s Manual

Transcript
ML7105 User's Manual
A.1.15 Write Config Data
Command
HCI_VENDOR_CONFIG_
WRITE
OCF
0x012A
Command parameters
offset_address,
Length,
Data
Return parameters
Status
Description:
This command will write the specified length of data to the specified Config offset address.
Command parameters:
offset_address:
Value
0xXXXXXXXX
Length:
Value
0x01~0x18
Size: 4 Octets
Parameter Description
Valid Config offset address.
For ML7105the valid values are:
0x00000000 ~ 0x00000XXX (size of Config)
Size: 1 Octet
Parameter Description
Length of data to be written. (1~24)
Data:
Value
0xXX *
<Length>
Size: <Length> Octets
Parameter Description
<Length> of data to be written to the specified config offset address
Return Parameters:
Status:
Value
0x00
0x01-0xFF
Size: 1 Octet
Parameter Description
Write Config Command succeeded
Write Config command failed. See “Error Codes” defined in Bluetooth
Specification (Volume 2, Part D)
Event(s) generated:
When the Write Config command has completed, a Command Complete event will be generated.
Common usage:
FEUL7105-02
51