mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-26 02:37:41 +00:00
btstack_defines: rename a battery service event param
This commit is contained in:
parent
dbce187c40
commit
cf03799a02
@ -4136,7 +4136,7 @@ typedef uint8_t sm_key_t[16];
|
||||
/**
|
||||
* @format 12111
|
||||
* @param subevent_code
|
||||
* @param hids_cid
|
||||
* @param bas_cid
|
||||
* @param status
|
||||
* @param num_instances
|
||||
* @param poll_bitmap
|
||||
@ -4146,7 +4146,7 @@ typedef uint8_t sm_key_t[16];
|
||||
/**
|
||||
* @format 12111
|
||||
* @param subevent_code
|
||||
* @param hids_cid
|
||||
* @param bas_cid
|
||||
* @param service_index
|
||||
* @param att_status see ATT errors in bluetooth.h
|
||||
* @param level
|
||||
|
@ -13661,12 +13661,12 @@ static inline uint16_t gattservice_subevent_cycling_power_broadcast_stop_get_con
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get field hids_cid from event GATTSERVICE_SUBEVENT_BATTERY_SERVICE_CONNECTED
|
||||
* @brief Get field bas_cid from event GATTSERVICE_SUBEVENT_BATTERY_SERVICE_CONNECTED
|
||||
* @param event packet
|
||||
* @return hids_cid
|
||||
* @return bas_cid
|
||||
* @note: btstack_type 2
|
||||
*/
|
||||
static inline uint16_t gattservice_subevent_battery_service_connected_get_hids_cid(const uint8_t * event){
|
||||
static inline uint16_t gattservice_subevent_battery_service_connected_get_bas_cid(const uint8_t * event){
|
||||
return little_endian_read_16(event, 3);
|
||||
}
|
||||
/**
|
||||
@ -13698,12 +13698,12 @@ static inline uint8_t gattservice_subevent_battery_service_connected_get_poll_bi
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get field hids_cid from event GATTSERVICE_SUBEVENT_BATTERY_SERVICE_LEVEL
|
||||
* @brief Get field bas_cid from event GATTSERVICE_SUBEVENT_BATTERY_SERVICE_LEVEL
|
||||
* @param event packet
|
||||
* @return hids_cid
|
||||
* @return bas_cid
|
||||
* @note: btstack_type 2
|
||||
*/
|
||||
static inline uint16_t gattservice_subevent_battery_service_level_get_hids_cid(const uint8_t * event){
|
||||
static inline uint16_t gattservice_subevent_battery_service_level_get_bas_cid(const uint8_t * event){
|
||||
return little_endian_read_16(event, 3);
|
||||
}
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user