yabo国际娱乐对话框半导体客户支持- ext https://support.dialog-semiconductor.com/resource-keywords/ext en Reading of Battery Level (BASS) and Custom Service (CUSTS1) Characteristic (GTL over UART) https://support.dialog-semiconductor.com/reading-battery-level-bass-and-custom-service-custs1-characteristic-gtl-over-uart

Dear support,

I have ported over the prox_reporter_ext project (SDK 5.0.3) and I have added the Battery Service (as in project prox_reporter) and the Custom Service (as in project ble_app_profile). I am using GTL over UART for communication between our ext processor and the DA14580.

I would very much like to find what message I need to handle in our host code in order to respond to a 'Read' of the Battery Level and a 'Read' of a custom characteristic. I am for example using App LightBlue on iOS to read the Battery Level on request (by pressing 'Read again' while having selected the Battery Service). However none of the messages below (from the example project) is triggered so that I can actually update the Battery Level.

// Inform APP of database creation status
case BASS_CREATE_DB_CFM:

// Disable confirmation with configuration to save after profile disabled
case BASS_DISABLE_IND:

// Error indication to Host
case BASS_ERROR_IND:

// Inform APP if Battery Level value has been notified or not
case BASS_BATT_LEVEL_UPD_CFM:

// Inform APP that Battery Level Notification Configuration has been changed
case BASS_BATT_LEVEL_NTF_CFG_IND:

The same goes for the Custom Service that I've implemented. I am able to respond to the CUSTS1_VAL_WRITE_IND message (when a value is Written), but it is not yet clear how I can respond to a Read.

I am looking forward to your response.

Kind regards,
Arjan

Device: 
Wed, 11 Nov 2015 16:32:26 +0000 abremen 2268年,一个t https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/reading-battery-level-bass-and-custom-service-custs1-characteristic-gtl-over-uart#comments