Lines Matching refs:mp_int_t
105 mp_int_t value = mp_obj_get_int(all_args[0]); in bluetooth_uuid_make_new()
205 STATIC mp_int_t bluetooth_uuid_get_buffer(mp_obj_t self_in, mp_buffer_info_t *bufinfo, mp_uint_t fl… in bluetooth_uuid_get_buffer()
347 mp_int_t ringbuf_alloc = mp_obj_get_int(e->value); in bluetooth_ble_config()
381 mp_int_t mtu = mp_obj_get_int(e->value); in bluetooth_ble_config()
386 mp_int_t addr_mode = mp_obj_get_int(e->value); in bluetooth_ble_config()
402 mp_int_t io_capability = mp_obj_get_int(e->value); in bluetooth_ble_config()
459 mp_int_t interval_us = mp_obj_get_int(args[ARG_interval_us].u_obj); in bluetooth_ble_gap_advertise()
639 mp_int_t scan_duration_ms = MP_BLUETOOTH_CONNECT_DEFAULT_SCAN_DURATION_MS; in bluetooth_ble_gap_connect()
651 mp_int_t duration_ms = 0; in bluetooth_ble_gap_scan()
652 mp_int_t interval_us = 1280000; in bluetooth_ble_gap_scan()
653 mp_int_t window_us = 11250; in bluetooth_ble_gap_scan()
701 mp_int_t passkey = mp_obj_get_int(args[3]); in bluetooth_ble_gap_passkey()
733 mp_int_t conn_handle = mp_obj_get_int(args[1]); in bluetooth_ble_gatts_notify()
734 mp_int_t value_handle = mp_obj_get_int(args[2]); in bluetooth_ble_gatts_notify()
751 mp_int_t conn_handle = mp_obj_get_int(conn_handle_in); in bluetooth_ble_gatts_indicate()
752 mp_int_t value_handle = mp_obj_get_int(value_handle_in); in bluetooth_ble_gatts_indicate()
760 mp_int_t value_handle = mp_obj_get_int(args[1]); in bluetooth_ble_gatts_set_buffer()
761 mp_int_t len = mp_obj_get_int(args[2]); in bluetooth_ble_gatts_set_buffer()
774 mp_int_t conn_handle = mp_obj_get_int(args[1]); in bluetooth_ble_gattc_discover_services()
787 mp_int_t conn_handle = mp_obj_get_int(args[1]); in bluetooth_ble_gattc_discover_characteristics()
788 mp_int_t start_handle = mp_obj_get_int(args[2]); in bluetooth_ble_gattc_discover_characteristics()
789 mp_int_t end_handle = mp_obj_get_int(args[3]); in bluetooth_ble_gattc_discover_characteristics()
803 mp_int_t conn_handle = mp_obj_get_int(args[1]); in bluetooth_ble_gattc_discover_descriptors()
804 mp_int_t start_handle = mp_obj_get_int(args[2]); in bluetooth_ble_gattc_discover_descriptors()
805 mp_int_t end_handle = mp_obj_get_int(args[3]); in bluetooth_ble_gattc_discover_descriptors()
812 mp_int_t conn_handle = mp_obj_get_int(conn_handle_in); in bluetooth_ble_gattc_read()
813 mp_int_t value_handle = mp_obj_get_int(value_handle_in); in bluetooth_ble_gattc_read()
819 mp_int_t conn_handle = mp_obj_get_int(args[1]); in bluetooth_ble_gattc_write()
820 mp_int_t value_handle = mp_obj_get_int(args[2]); in bluetooth_ble_gattc_write()
846 mp_int_t psm = mp_obj_get_int(psm_in); in bluetooth_ble_l2cap_listen()
847 mp_int_t mtu = MAX(32, MIN(UINT16_MAX, mp_obj_get_int(mtu_in))); in bluetooth_ble_l2cap_listen()
853 mp_int_t conn_handle = mp_obj_get_int(args[1]); in bluetooth_ble_l2cap_connect()
854 mp_int_t psm = mp_obj_get_int(args[2]); in bluetooth_ble_l2cap_connect()
855 mp_int_t mtu = MAX(32, MIN(UINT16_MAX, mp_obj_get_int(args[3]))); in bluetooth_ble_l2cap_connect()
862 mp_int_t conn_handle = mp_obj_get_int(conn_handle_in); in bluetooth_ble_l2cap_disconnect()
863 mp_int_t cid = mp_obj_get_int(cid_in); in bluetooth_ble_l2cap_disconnect()
869 mp_int_t conn_handle = mp_obj_get_int(args[1]); in bluetooth_ble_l2cap_send()
870 mp_int_t cid = mp_obj_get_int(args[2]); in bluetooth_ble_l2cap_send()
881 mp_int_t conn_handle = mp_obj_get_int(args[1]); in bluetooth_ble_l2cap_recvinto()
882 mp_int_t cid = mp_obj_get_int(args[2]); in bluetooth_ble_l2cap_recvinto()
897 mp_int_t ogf = mp_obj_get_int(args[1]); in bluetooth_ble_hci_cmd()
898 mp_int_t ocf = mp_obj_get_int(args[2]); in bluetooth_ble_hci_cmd()
1041 mp_int_t event = ringbuf_get(&o->ringbuf); in bluetooth_ble_invoke_irq()
1117 const mp_int_t *numeric, size_t n_unsigned, size_t n_signed, in invoke_irq_handler()
1173 mp_int_t args[] = {conn_handle, addr_type}; in mp_bluetooth_gap_on_connected_disconnected()
1178 mp_int_t args[] = {conn_handle, conn_interval, conn_latency, supervision_timeout, status}; in mp_bluetooth_gap_on_connection_update()
1184 mp_int_t args[] = {conn_handle, encrypted, authenticated, bonded, key_size}; in mp_bluetooth_gatts_on_encryption_update()
1189 mp_int_t args[] = {type, index}; in mp_bluetooth_gap_on_get_secret()
1202 mp_int_t args[] = { type }; in mp_bluetooth_gap_on_set_secret()
1209 void mp_bluetooth_gap_on_passkey_action(uint16_t conn_handle, uint8_t action, mp_int_t passkey) { in mp_bluetooth_gap_on_passkey_action()
1210 mp_int_t args[] = { conn_handle, action, passkey }; in mp_bluetooth_gap_on_passkey_action()
1216 mp_int_t args[] = {conn_handle, value_handle}; in mp_bluetooth_gatts_on_write()
1221 mp_int_t args[] = {conn_handle, value_handle, status}; in mp_bluetooth_gatts_on_indicate_complete()
1225 mp_int_t mp_bluetooth_gatts_on_read_request(uint16_t conn_handle, uint16_t value_handle) { in mp_bluetooth_gatts_on_read_request()
1226 mp_int_t args[] = {conn_handle, value_handle}; in mp_bluetooth_gatts_on_read_request()
1229 mp_int_t ret = 0; in mp_bluetooth_gatts_on_read_request()
1235 mp_int_t args[] = {conn_handle, value}; in mp_bluetooth_gatts_on_mtu_exchanged()
1240 mp_int_t mp_bluetooth_on_l2cap_accept(uint16_t conn_handle, uint16_t cid, uint16_t psm, uint16_t ou… in mp_bluetooth_on_l2cap_accept()
1241 mp_int_t args[] = {conn_handle, cid, psm, our_mtu, peer_mtu}; in mp_bluetooth_on_l2cap_accept()
1244 mp_int_t ret = 0; in mp_bluetooth_on_l2cap_accept()
1250 mp_int_t args[] = {conn_handle, cid, psm, our_mtu, peer_mtu}; in mp_bluetooth_on_l2cap_connect()
1255 mp_int_t args[] = {conn_handle, cid, psm, status}; in mp_bluetooth_on_l2cap_disconnect()
1260 mp_int_t args[] = {conn_handle, cid, status}; in mp_bluetooth_on_l2cap_send_ready()
1265 mp_int_t args[] = {conn_handle, cid}; in mp_bluetooth_on_l2cap_recv()
1276 mp_int_t args[] = {addr_type, adv_type, rssi}; in mp_bluetooth_gap_on_scan_result()
1283 mp_int_t args[] = {conn_handle, start_handle, end_handle}; in mp_bluetooth_gattc_on_primary_service_result()
1288 mp_int_t args[] = {conn_handle, def_handle, value_handle, properties}; in mp_bluetooth_gattc_on_characteristic_result()
1293 mp_int_t args[] = {conn_handle, handle}; in mp_bluetooth_gattc_on_descriptor_result()
1298 mp_int_t args[] = {conn_handle, status}; in mp_bluetooth_gattc_on_discover_complete()
1326 mp_int_t args[] = {conn_handle, value_handle}; in mp_bluetooth_gattc_on_data_available()
1335 mp_int_t args[] = {conn_handle, value_handle, status}; in mp_bluetooth_gattc_on_read_write_status()
1437 mp_int_t mp_bluetooth_gatts_on_read_request(uint16_t conn_handle, uint16_t value_handle) { in mp_bluetooth_gatts_on_read_request()