attempt to read CIS
This commit is contained in:
+5
-4
@@ -324,7 +324,7 @@ static void mem_send_ins(uint16_t handle, uint8_t *value){
|
||||
if ( req.pValue != NULL )
|
||||
{
|
||||
// read CIS later or not
|
||||
if((*value | 0xF0) == 0x70){
|
||||
if((*value & 0xF0) == 0x70){
|
||||
wait_for_response = 1;
|
||||
}
|
||||
|
||||
@@ -353,9 +353,7 @@ static void mem_send_ins(uint16_t handle, uint8_t *value){
|
||||
{
|
||||
procedureInProgress = TRUE;
|
||||
if(wait_for_response){
|
||||
char get_cis_check_point[15] = "check_point";
|
||||
UART_write(uart_handle, get_cis_check_point, 15);
|
||||
// flag_notify(EVT_MEM_GET_CIS);
|
||||
flag_notify(EVT_MEM_GET_CIS);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -374,6 +372,9 @@ static void mem_central_get_cis(){
|
||||
read_cis_req.handle = BLE_CHAR2_HANDLE;
|
||||
status = GATT_ReadCharValue(connHandle, &read_cis_req, selfEntity);
|
||||
|
||||
char get_cis_check_point[15] = "check_point";
|
||||
UART_write(uart_handle, get_cis_check_point, 15);
|
||||
|
||||
if (status == SUCCESS)
|
||||
{
|
||||
procedureInProgress = TRUE;
|
||||
|
||||
+2
-2
@@ -6,11 +6,11 @@
|
||||
#define VERSION_DATE_MONTH 8
|
||||
#define VERSION_DATE_DAY 4
|
||||
#define VERSION_DATE_HOUR 17
|
||||
#define VERSION_DATE_MINUTE 49
|
||||
#define VERSION_DATE_MINUTE 54
|
||||
|
||||
// this is NOT the version hash !!
|
||||
// it's the last version hash
|
||||
#define VERSION_HASH 31a2fb297530ee03fcbd9deec71f405e4e786785
|
||||
#define VERSION_HASH 8b43e81c1118b55ba5d35a5a4dfe69957d195840
|
||||
#define VERSION_GIT_BRANCH simple_central_ma_pin
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user