This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/CC2564MODA: CC2564MODA

Part Number: CC2564MODA


Tool/software: Linux

Hi Team,

We are using CC2564MODA which is interface through UART and connected to PC, 

We need to put device in sleep mode according to this documment  https://www.mouser.it/pdfdocs/bluetooth-Core-v50.pdf | at Part D page 2462 .

in this document for sleep command payload value is  MSB 0X78 and LSB 0X07, 0X7807 binary is 0111 1000 0000 0111 

ocf is 10 bit from LSB : 00 0000 0111 (0X007)

ogf is remaining 6 bit : 0111 10 (0X1e)

using HCI command we sent sleep command as below

hcitool -i hci0 cmd 0x1e 0x07
< HCI Command: ogf 0x1e, ocf 0x0007, plen 0
> HCI Event: 0x0e plen 4
  01 07 78 01

as per the HCI command if it is return 00 means Command succeeded. and 01 - FF means Command failed.

is this proper way to set the device in sleep?

if it is not let us know, how we can put device in sleep mode using sleep message (0X7807)?