You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/05/22 18:29:43 UTC

[GitHub] ccollins476ad commented on issue #1118: Can't write data to characteristic

ccollins476ad commented on issue #1118: Can't write data to characteristic
URL: https://github.com/apache/mynewt-core/issues/1118#issuecomment-391094307
 
 
   One of the two peers needs to initiate the GAP encryption procedure.  In Nimble, this is done by calling `ble_gap_security_initiate()` (https://mynewt.apache.org/network/ble/ble_hs/ble_gap/functions/ble_gap_security_initiate/).
   
   Your central app can do this immediately upon connecting.  Another common solution is to initiate security whenever your callback reports the `BLE_ATT_ERR_INSUFFICIENT_AUTHEN` error.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services