btashton commented on pull request #2302:
URL: https://github.com/apache/incubator-nuttx/pull/2302#issuecomment-748665135


   @v01d I just tried to do some testing and I could not get the nimble 
configuration to actually do anything.
   I see the HCI device attach but when I start the nimble app it starts the 
tasks but nothing actually is send over the HCI interface.  I added some 
scanning into the app and that did not seem to change anything.
   ```
   NuttShell (NSH) NuttX-10.0.1
   nsh> ?
   help usage:  help [-v] [<cmd>]
   
     .         cp        exit      ifup      mkrd      ps        test      xd   
     
     [         cmp       false     kill      mh        pwd       time      
     ?         dirname   free      losetup   mount     rm        true      
     basename  dd        help      ls        mv        rmdir     uname     
     break     df        hexdump   mb        mw        set       umount    
     cat       echo      ifconfig  mkdir     nslookup  sleep     unset     
     cd        exec      ifdown    mkfatfs   poweroff  source    usleep    
   
   Builtin Apps:
     hello   nimble  nsh     sh      
   nsh> nimble &
   nimble [5:255]
   hci init
   port init
   gap init
   gatt init
   ans init
   ias init
   lls init
   tps init
   hci_sock task init
   ble_host task init
   nsh> hci sock task
   host task
   
   nsh> ps
     PID  PPID PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK   STACK 
COMMAND
       0     0   0 FIFO     Kthread N-- Ready              00000000 004096 Idle 
Task
       1     0 224 FIFO     Kthread --- Waiting  Signal    00000000 065552 
hpwork
       2     0 100 FIFO     Kthread --- Waiting  Signal    00000000 065552 
lpwork
       3     0 100 FIFO     Task    --- Running            00000000 004112 init
       4     3 100 FIFO     Kthread --- Waiting  MQ empty  00000000 065552 BT 
HCI Tx
       5     3 255 RR       Task    --- Waiting  Signal    00000000 016400 
nimble
       6     3   1 RR       pthread --- Waiting  MQ empty  00000000 065584 
<pthread> 0x0
       7     3   1 RR       pthread --- Waiting  Semaphore 00000000 065584 
<pthread> 0x0
   ```
   
   btmon
   ```
   = Close Index: 04:D3:B0:FC:BE:16                              [hci0] 
420.521753
   @ MGMT Event: Index Removed (0x0005) plen 0          {0x0001} [hci0] 
420.522192
   = Open Index: 04:D3:B0:FC:BE:16                               [hci0] 
420.522319
   = Index Info: 04:D3:B0:FC:BE:16 (Intel Corp.)                 [hci0] 
420.522326
   @ RAW Close: nuttx                                          {0x0002} 
420.522333
   @ USER Open: nuttx (privileged) version 2.22         {0x0002} [hci0] 
420.522338
   = bluetoothd: Endpoint unregistered: sender=:1.107 path=/MediaEn..   
420.524184
   = bluetoothd: Endpoint unregistered: sender=:1.107 path=/MediaEn..   
420.524293
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to