[GitHub] [mynewt-nimble] andrzej-kaczmarek commented on issue #687: Return code from ble_hs_hci_cmd_tx is HEX207, while it should be a BLE_HS_E... type of error

2019-12-03 Thread GitBox
andrzej-kaczmarek commented on issue #687: Return code from ble_hs_hci_cmd_tx 
is HEX207, while it should be a BLE_HS_E... type of error
URL: https://github.com/apache/mynewt-nimble/issues/687#issuecomment-561271861
 
 
   comment is correct - this is not a raw HCI code, but a HCI code converted to 
BLE_HS error so it can be returned to application and will not be confused with 
"standard" BLE_HS error. each raw HCI code has corresponding BLE_HS error which 
is basically HCI code + 0x200 and this is what is set in `bha_status`


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


With regards,
Apache Git Services


[GitHub] [mynewt-nimble] andrzej-kaczmarek commented on issue #687: Return code from ble_hs_hci_cmd_tx is HEX207, while it should be a BLE_HS_E... type of error

2019-12-03 Thread GitBox
andrzej-kaczmarek commented on issue #687: Return code from ble_hs_hci_cmd_tx 
is HEX207, while it should be a BLE_HS_E... type of error
URL: https://github.com/apache/mynewt-nimble/issues/687#issuecomment-561259132
 
 
   error codes with base `0x200` are HCI errors so `0x207` is a HCI error code 
7 (memory capacity exceeded)


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


With regards,
Apache Git Services