Home
last modified time | relevance | path

Searched refs:bt_u32_t (Results 1 – 25 of 82) sorted by relevance

1234

/AliOS-Things-master/components/ble_host/bt_host/include/bluetooth/
A Dhfp_hf.h74 void (*service)(struct bt_conn *conn, bt_u32_t value);
82 void (*call)(struct bt_conn *conn, bt_u32_t value);
90 void (*call_setup)(struct bt_conn *conn, bt_u32_t value);
98 void (*call_held)(struct bt_conn *conn, bt_u32_t value);
106 void (*signal)(struct bt_conn *conn, bt_u32_t value);
114 void (*roam)(struct bt_conn *conn, bt_u32_t value);
122 void (*battery)(struct bt_conn *conn, bt_u32_t value);
/AliOS-Things-master/components/ble_host/bt_shell/bt_host/
A Dticker.c32 static void ticker_op_done(bt_u32_t err, void *context) in ticker_op_done()
34 *((bt_u32_t volatile *)context) = err; in ticker_op_done()
41 bt_u32_t ticks_to_expire; in cmd_ticker_info()
43 bt_u32_t ticks_to_expire; in cmd_ticker_info()
44 bt_u32_t ticks_current; in cmd_ticker_info()
56 bt_u32_t volatile err_cb = TICKER_STATUS_BUSY; in cmd_ticker_info()
57 bt_u32_t ticks_previous; in cmd_ticker_info()
58 bt_u32_t err; in cmd_ticker_info()
A Dflash.c30 bt_u32_t page_addr; in cmd_erase()
32 bt_u32_t size; in cmd_erase()
68 bt_u32_t check_array[BUF_ARRAY_CNT]; in cmd_flash()
69 bt_u32_t buf_array[BUF_ARRAY_CNT]; in cmd_flash()
71 bt_u32_t w_addr; in cmd_flash()
123 bt_u32_t addr; in cmd_read()
146 bt_u32_t data; in cmd_read()
161 bt_u32_t repeat; in cmd_test()
163 bt_u32_t addr; in cmd_test()
164 bt_u32_t size; in cmd_test()
[all …]
/AliOS-Things-master/components/ble_host/bt_host/port/include/misc/
A Dbyteorder.h20 #define __bswap_24(x) ((bt_u32_t) ((((x) >> 16) & 0xff) | \
23 #define __bswap_32(x) ((bt_u32_t) ((((x) >> 24) & 0xff) | \
240 static inline void sys_put_be24(bt_u32_t val, u8_t dst[3]) in sys_put_be24()
255 static inline void sys_put_be32(bt_u32_t val, u8_t dst[4]) in sys_put_be32()
315 static inline void sys_put_le24(bt_u32_t val, u8_t dst[3]) in sys_put_le24()
391 static inline bt_u32_t sys_get_be24(const u8_t src[3]) in sys_get_be24()
393 return ((bt_u32_t)src[0] << 16) | sys_get_be16(&src[1]); in sys_get_be24()
406 static inline bt_u32_t sys_get_be32(const u8_t src[4]) in sys_get_be32()
466 static inline bt_u32_t sys_get_le24(const u8_t src[3]) in sys_get_le24()
468 return ((bt_u32_t)src[2] << 16) | sys_get_le16(&src[0]); in sys_get_le24()
[all …]
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/
A Dnet.h50 bt_u32_t beacon_sent; /* Timestamp of last sent beacon */
66 bt_u32_t node_id_start; /* Node Identity started timestamp */
91 bt_u32_t seq;
124 bt_u32_t queue_size;
128 bt_u32_t start; /* Clear Procedure start */
231 bt_u32_t iv_index; /* Current IV Index */
232 bt_u32_t seq:24, /* Next outgoing sequence number */
298 bt_u32_t seq; /* Sequence Number */
328 int bt_mesh_net_create(u16_t idx, u8_t flags, const u8_t key[16], bt_u32_t iv_index);
340 bool bt_mesh_net_iv_update(bt_u32_t iv_index, bool iv_update);
[all …]
A Dcrypto.h69 const u8_t net_id[16], bt_u32_t iv_index,
121 int bt_mesh_net_obfuscate(u8_t *pdu, bt_u32_t iv_index,
125 bt_u32_t iv_index, bool proxy);
128 bt_u32_t iv_index, bool proxy);
132 u16_t src, u16_t dst, bt_u32_t seq_num, bt_u32_t iv_index);
136 const u8_t *ad, u16_t src, u16_t dst, bt_u32_t seq_num,
137 bt_u32_t iv_index);
A Dprovisioner_main.h36 bt_u32_t iv_index; /* Node IV Index */
48 … u8_t flags, bt_u32_t iv_index, const u8_t dev_key[16], u8_t *dev_addr);
68 bt_u32_t provisioner_get_prov_node_count(void);
84 bt_u32_t bt_mesh_provisioner_get_net_key_count(void);
86 bt_u32_t bt_mesh_provisioner_get_app_key_count(void);
A Dprovisioner_prov.h81 bt_u32_t iv_index;
98 bt_u32_t iv_index; /* IV Index */
99 bt_u32_t provisioned_time; /* provison time */
397 int bt_mesh_temp_prov_set_flags_iv_index(u8_t flags, bt_u32_t iv_index);
413 … u16_t unicast_addr, u16_t net_idx, u8_t flags, bt_u32_t iv_index,
414 u8_t dev_key[16], bt_u32_t provisioned_time);
A Dbeacon.h24 bt_u32_t bt_mesh_get_beacon_interval(u8_t type);
26 void bt_mesh_set_beacon_interval(u8_t type, bt_u32_t delay);
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_models/common/
A Dmesh_model.c33 bt_u32_t time;
59 bt_u32_t cur_time = k_uptime_get(); in _mesh_trans_timer_cycle()
91 bt_u32_t get_transition_time(u8_t byte) in get_transition_time()
101 static u8_t _get_transition_byte(bt_u32_t time) in _get_transition_byte()
124 bt_u32_t cur_time = k_uptime_get(); in get_remain_byte()
128 bt_u32_t l_trans = get_transition_time(p_state->trans); in get_remain_byte()
150 bt_u32_t cur_time = k_uptime_get(); in mesh_check_tid()
151 bt_u32_t end_time = 0; in mesh_check_tid()
/AliOS-Things-master/components/ble_host/bt_host/port/core/
A Dbuf.c209 bt_u32_t *ref_count; in fixed_data_alloc()
229 bt_u32_t *ref_count; in fixed_data_unref()
323 bt_u32_t alloc_start = k_uptime_get_32(); in net_buf_alloc_len_debug()
366 bt_u32_t ref = k_uptime_get_32(); in net_buf_alloc_len_debug()
679 bt_u32_t alloc_start = k_uptime_get_32(); in net_buf_clone()
1127 bt_u32_t u24:24; in net_buf_simple_pull_le24()
1139 bt_u32_t u24:24; in net_buf_simple_pull_be24()
1150 bt_u32_t val; in net_buf_simple_pull_le32()
1152 val = UNALIGNED_GET((bt_u32_t *)buf->data); in net_buf_simple_pull_le32()
1160 bt_u32_t val; in net_buf_simple_pull_be32()
[all …]
/AliOS-Things-master/components/ble_host/bt_host/host/
A Dhfp_hf.c42 bt_u32_t min;
43 bt_u32_t max;
105 bt_u32_t val; in brsf_handle()
138 static void cind_handle_values(struct at_client *hf_at, bt_u32_t index, in cind_handle_values()
139 char *name, bt_u32_t min, bt_u32_t max) in cind_handle_values()
161 bt_u32_t index = 0U; in cind_handle()
166 bt_u32_t min, max; in cind_handle()
224 bt_u32_t value) in ag_indicator_handle_values()
287 bt_u32_t index = 0U; in cind_status_handle()
290 bt_u32_t value; in cind_status_handle()
[all …]
A Dat.h106 int at_get_number(struct at_client *at, bt_u32_t *val);
114 int at_list_get_range(struct at_client *at, bt_u32_t *min, bt_u32_t *max);
A Dhfp_internal.h51 bt_u32_t hf_features;
52 bt_u32_t ag_features;
/AliOS-Things-master/components/ble_host/bt_host/port/aos/
A Dpoll.c36 void k_poll_event_init(struct k_poll_event *event, bt_u32_t type, int mode, in k_poll_event_init()
53 static inline void set_event_state(struct k_poll_event *event, bt_u32_t state) in set_event_state()
61 static int _signal_poll_event(struct k_poll_event *event, bt_u32_t state, int *must_reschedule) in _signal_poll_event()
72 void _handle_obj_poll_events(sys_dlist_t *events, bt_u32_t state) in _handle_obj_poll_events()
84 static inline int is_condition_met(struct k_poll_event *event, bt_u32_t *state) in is_condition_met()
194 bt_u32_t state; in polling_events()
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/api/mesh/
A Dctrl_relay.h53 bt_u32_t tmms;
59 bt_u32_t tmms;
60 bt_u32_t flood_ms;
A Dmain.h108 int (*output_number)(bt_mesh_output_action_t act, bt_u32_t num);
262 bt_u32_t iv_index;
323 int bt_mesh_input_number(bt_u32_t num);
447 int bt_mesh_provision(const u8_t net_key[16], u16_t net_idx, u8_t flags, bt_u32_t iv_index, u16_t a…
A Daccess.h155 bt_u32_t opcode;
164 bt_u32_t opcode);
281 bt_u32_t period_start; /**< Start of the current period. */
360 void bt_mesh_model_msg_init(struct net_buf_simple *msg, bt_u32_t opcode);
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/
A Dbeacon.c40 static bt_u32_t unprov_beacon_interval = UNPROVISIONED_INTERVAL;
41 static bt_u32_t prov_beacon_interval = PROVISIONED_INTERVAL;
128 bt_u32_t now = k_uptime_get_32(); in secure_beacon_send()
129 bt_u32_t time_diff; in secure_beacon_send()
286 bt_u32_t iv_index; in secure_beacon_recv()
358 bt_u32_t bt_mesh_get_beacon_interval(u8_t type) in bt_mesh_get_beacon_interval()
370 void bt_mesh_set_beacon_interval(u8_t type, bt_u32_t delay) in bt_mesh_set_beacon_interval()
A Dcrypto.c511 bt_u32_t iv_index) in create_proxy_nonce()
538 bt_u32_t iv_index) in create_net_nonce()
563 int bt_mesh_net_obfuscate(u8_t *pdu, bt_u32_t iv_index, in bt_mesh_net_obfuscate()
594 bt_u32_t iv_index, bool proxy) in bt_mesh_net_encrypt()
631 bt_u32_t iv_index, bool proxy) in bt_mesh_net_decrypt()
663 u16_t src, u16_t dst, bt_u32_t seq_num, in create_app_nonce()
664 bt_u32_t iv_index) in create_app_nonce()
682 u16_t src, u16_t dst, bt_u32_t seq_num, bt_u32_t iv_index) in bt_mesh_app_encrypt()
708 const u8_t *ad, u16_t src, u16_t dst, bt_u32_t seq_num, in bt_mesh_app_decrypt()
709 bt_u32_t iv_index) in bt_mesh_app_decrypt()
[all …]
/AliOS-Things-master/components/ble_host/bt_host/port/aos/include/
A Dbt_device.h69 int (*device_pm_control)(struct device *device, bt_u32_t command,
375 bt_u32_t unused_ctrl_command, void *unused_context);
389 bt_u32_t device_power_state) in device_set_power_state()
409 bt_u32_t *device_power_state) in device_get_power_state()
/AliOS-Things-master/components/ble_host/include/net/
A Dbuf.h254 void net_buf_simple_add_le24(struct net_buf_simple *buf, bt_u32_t val);
266 void net_buf_simple_add_be24(struct net_buf_simple *buf, bt_u32_t val);
278 void net_buf_simple_add_le32(struct net_buf_simple *buf, bt_u32_t val);
290 void net_buf_simple_add_be32(struct net_buf_simple *buf, bt_u32_t val);
394 void net_buf_simple_push_le24(struct net_buf_simple *buf, bt_u32_t val);
405 void net_buf_simple_push_be24(struct net_buf_simple *buf, bt_u32_t val);
416 void net_buf_simple_push_le32(struct net_buf_simple *buf, bt_u32_t val);
545 bt_u32_t net_buf_simple_pull_le24(struct net_buf_simple *buf);
557 bt_u32_t net_buf_simple_pull_be24(struct net_buf_simple *buf);
569 bt_u32_t net_buf_simple_pull_le32(struct net_buf_simple *buf);
[all …]
/AliOS-Things-master/components/genie_service/core/inc/sig_models/
A Dsig_model.h39 bt_u32_t trans_start_time;
40 bt_u32_t trans_end_time;
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_models/sig_model/srv/
A Dgeneric_level_srv.c21 extern bt_u32_t get_transition_time(u8_t byte);
114 …LOGD(TAG, "start(%d) end(%d)", (bt_u32_t)elem->state.trans_start_time, (bt_u32_t)elem->state.trans… in _generic_level_analyze()
277 …LOGD(TAG, "start(%d) end(%d)", (bt_u32_t)elem->state.trans_start_time, (bt_u32_t)elem->state.trans… in _generic_delta_analyze()
371 …LOGD(TAG, "start(%d) end(%d)", (bt_u32_t)elem->state.trans_start_time, (bt_u32_t)elem->state.trans… in _generic_level_move_analyze()
/AliOS-Things-master/components/genie_service/core/src/sig_models/
A Dsig_model_transition.c43 bt_u32_t cur_time = k_uptime_get(); in sig_model_transition_update()
208 bt_u32_t TRANS_TIMES[] = {TRANSITION_TIME_UNIT_1, TRANSITION_TIME_UNIT_2, TRANSITION_TIME_UNIT_3, T…
210 static uint8_t _get_transition_byte(bt_u32_t time) in _get_transition_byte()
235 bt_u32_t sig_model_transition_get_transition_time(uint8_t byte) in sig_model_transition_get_transition_time()
251 bt_u32_t trans_duration = 0; in sig_model_transition_get_remain_time_byte()

Completed in 37 milliseconds

1234