You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/10/24 20:01:22 UTC

[GitHub] [incubator-nuttx] btashton opened a new issue #2085: sim:bthcisock build broken

btashton opened a new issue #2085:
URL: https://github.com/apache/incubator-nuttx/issues/2085


   The `sim:bthcisock` build is broken failing to register the HCI interface
   
   ```
   ❯ sudo btmon
   @ RAW Open: nuttx (privileged) version 2.22                  {0x0002} 22.803159
   @ MGMT Event: Index Removed (0x0005) plen 0           {0x0001} [hci0] 22.803185
   @ MGMT Event: Index Added (0x0004) plen 0             {0x0001} [hci0] 22.803198
   @ RAW Close: nuttx        
   ```
   
   ```
   ❯ sudo setcap 'cap_net_raw,cap_net_admin=eip' ./nuttx
   ❯ ./nuttx 
   ERROR: bthcisock_register() failed: -1
   
   NuttShell (NSH) NuttX-9.1.0
   nsh> 
   ```


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-nuttx] v01d commented on issue #2085: sim:bthcisock build broken

Posted by GitBox <gi...@apache.org>.
v01d commented on issue #2085:
URL: https://github.com/apache/incubator-nuttx/issues/2085#issuecomment-716050723


   ```
   ❯ sudo setcap 'cap_net_raw,cap_net_admin=eip' nuttx/nuttx
   ❯ nuttx/nuttx
   
   NuttShell (NSH) NuttX-9.1.0
   nsh> ifconfig
   bnep0	Link encap:UNSPEC at DOWN
   
   nsh> ifup bnep0
   ifup bnep0...OK
   nsh> ifconfig
   bnep0	Link encap:UNSPEC at UP
   
   nsh> 
   ```
   Maybe you don't have your BT dongle up? Or you are already using it from some other app?
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-nuttx] v01d commented on issue #2085: sim:bthcisock build broken

Posted by GitBox <gi...@apache.org>.
v01d commented on issue #2085:
URL: https://github.com/apache/incubator-nuttx/issues/2085#issuecomment-716047880


   I'll have a look. Last time it was working for me.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-nuttx] v01d commented on issue #2085: sim:bthcisock build broken

Posted by GitBox <gi...@apache.org>.
v01d commented on issue #2085:
URL: https://github.com/apache/incubator-nuttx/issues/2085#issuecomment-716051482


   Yes, this is for 10.0


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-nuttx] btashton commented on issue #2085: sim:bthcisock build broken

Posted by GitBox <gi...@apache.org>.
btashton commented on issue #2085:
URL: https://github.com/apache/incubator-nuttx/issues/2085#issuecomment-716047781


   @v01d would you mind taking a look at these two BLE issues on the 10.0 release.  I am working through functional test of the branch, so it will be a while before a circle back to debug.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-nuttx] v01d commented on issue #2085: sim:bthcisock build broken

Posted by GitBox <gi...@apache.org>.
v01d commented on issue #2085:
URL: https://github.com/apache/incubator-nuttx/issues/2085#issuecomment-727600361


   Found the issue, see related PR. This is only on master though, so it does not need to block 10.0 release.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-nuttx] btashton commented on issue #2085: sim:bthcisock build broken

Posted by GitBox <gi...@apache.org>.
btashton commented on issue #2085:
URL: https://github.com/apache/incubator-nuttx/issues/2085#issuecomment-727617237


   Hmm not this seems to be working fine on the 10.0 branch now.  I am not sure what was going on, maybe I accidentally ended up back on master.  I'll close this out.  Sorry for the extra noise @v01d 


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-nuttx] btashton commented on issue #2085: sim:bthcisock build broken

Posted by GitBox <gi...@apache.org>.
btashton commented on issue #2085:
URL: https://github.com/apache/incubator-nuttx/issues/2085#issuecomment-716051358


   Nope, the code should be taking it down anyway and then opening it as a user socket. You tested the releases/10.0 branch right?  I can take a look later and see if I can figure out whats up.  Running into fair amount of partially broken configurations :/


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-nuttx] btashton closed issue #2085: sim:bthcisock build broken

Posted by GitBox <gi...@apache.org>.
btashton closed issue #2085:
URL: https://github.com/apache/incubator-nuttx/issues/2085


   


----------------------------------------------------------------
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:
users@infra.apache.org