Note that there are some explanatory texts on larger screens.

plurals
  1. POCC2540 USB - make discoverable: Not ready to perform task
    text
    copied!<p>I am using the TI CC2540 USB dongle in peripheral mode and want to enable advertising, using BTool, but the device is answering:</p> <blockquote> <p>Not Ready To Perform Task</p> </blockquote> <p>I know that it's possible to set initial advertising enable in the application code, but I want to set advertising manually, can someone help out? Here is the log of BTool:</p> <pre><code>[1] : &lt;Tx&gt; - 04:52:52.802 -Type : 0x01 (Command) -Opcode : 0xFE00 (GAP_DeviceInit) -Data Length : 0x26 (38) byte(s) ProfileRole : 0x04 (Peripheral) MaxScanRsps : 0x05 (5) IRK : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 CSRK : 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 SignCounter : 0x00000001 (1) [2] : &lt;Rx&gt; - 04:52:52.878 -Type : 0x04 (Event) -EventCode : 0xFF (HCI_LE_ExtEvent) -Data Length : 0x06 (6) bytes(s) Event : 0x067F (GAP_HCI_ExtentionCommandStatus) Status : 0x00 (Success) OpCode : 0xFE00 (GAP_DeviceInit) DataLength : 0x00 (0) [3] : &lt;Rx&gt; - 04:52:52.950 -Type : 0x04 (Event) -EventCode : 0xFF (HCI_LE_ExtEvent) -Data Length : 0x2C (44) bytes(s) Event : 0x0600 (GAP_DeviceInitDone) Status : 0x00 (Success) DevAddr : C0:FF:EE:C0:FF:EE DataPktLen : 0x001B (27) NumDataPkts : 0x04 (4) IRK : 67:76:7D:A8:78:A1:A8:61:71:BD:58:24:92:39:0E:EC CSRK : 4E:EA:B7:B5:14:34:66:8C:2D:6B:29:9D:C9:1E:4F:16 [4] : &lt;Tx&gt; - 04:53:00.375 -Type : 0x01 (Command) -Opcode : 0xFE06 (GAP_MakeDiscoverable) -Data Length : 0x0F (15) byte(s) EventType : 0x00 (Connectable Undirect Advertisement) InitAddrType : 0x00 (Public) InitAddrs : 00:00:00:00:00:00 ChannelMap : 0x07 (Channel 37 Channel 38 Channel 39) FilterPolicy : 0x00 (Allow Scan Requests From Any, Allow Connect Request From Any.) [5] : &lt;Rx&gt; - 04:53:00.455 -Type : 0x04 (Event) -EventCode : 0xFF (HCI_LE_ExtEvent) -Data Length : 0x06 (6) bytes(s) Event : 0x067F (GAP_HCI_ExtentionCommandStatus) Status : 0x10 (Not Ready To Perform Task) OpCode : 0xFE06 (GAP_MakeDiscoverable) DataLength : 0x00 (0) </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload