You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I am trying to write my own HCI library for an Arduino in c++. I am familiar with writing header and cpp file. I can see at TI BLE Vendor Specific Guide the Commands its OPCode, Command parameters and its values and octets and return parameters.
I just want to know how to implement specific command.
Like....
GAP_DeviceInit(profilerole, maxScanResponses, IRK, CSRK, signCounter)
opcode is 0xFE00 for this command whereas, 0x08, 0x03, 0x00, 0x00, 0x00 - 0x01 values are suitable for the command parameters respectively. The octets are 1, 1, 16, 16, 4 for command parameters respectively.
And return parameter has 1 octet and 2 values for success 0x00 and 0x02 for invalid parameter.
Looking at your python program I am more confused in starting to write library. If you could show me just to write one command then I would write rest in c++.
Thanks
The text was updated successfully, but these errors were encountered:
Hi
I am trying to write my own HCI library for an Arduino in c++. I am familiar with writing header and cpp file. I can see at TI BLE Vendor Specific Guide the Commands its OPCode, Command parameters and its values and octets and return parameters.
I just want to know how to implement specific command.
Like....
GAP_DeviceInit(profilerole, maxScanResponses, IRK, CSRK, signCounter)
opcode is 0xFE00 for this command whereas, 0x08, 0x03, 0x00, 0x00, 0x00 - 0x01 values are suitable for the command parameters respectively. The octets are 1, 1, 16, 16, 4 for command parameters respectively.
And return parameter has 1 octet and 2 values for success 0x00 and 0x02 for invalid parameter.
Looking at your python program I am more confused in starting to write library. If you could show me just to write one command then I would write rest in c++.
Thanks
The text was updated successfully, but these errors were encountered: