zephyr/samples/bluetooth
Emil Gydesen 534d6f3b2c Samples: Bluetooth: TMAP peripheral avoid using strtok
strtok should not be used for the purpose it was being used for.
Furthermore, the pointer that was stored from the value is not
a long-living pointer, and would in fact be invalid after the
callback has returned.

Modified the code so that we store the value in the application
and then do a proper search for the first URI in the list.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-05-25 16:27:26 +02:00
..
beacon samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
broadcast_audio_sink doc: samples: update OVERLAY_CONFIG to EXTRA_CONF_FILE 2023-05-23 16:40:21 +02:00
broadcast_audio_source doc: samples: update OVERLAY_CONFIG to EXTRA_CONF_FILE 2023-05-23 16:40:21 +02:00
broadcaster samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
broadcaster_multiple samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
bthome_sensor_template samples, tests: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
central samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
central_gatt_write samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
central_hr samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
central_ht samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
central_iso Bluetooth: iso: use kconfig for userdata size 2023-05-03 10:02:44 +02:00
central_multilink samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
central_otc samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
central_past samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
direct_adv samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
direction_finding_central doc: samples: update OVERLAY_CONFIG to EXTRA_CONF_FILE 2023-05-23 16:40:21 +02:00
direction_finding_connectionless_rx doc: samples: update OVERLAY_CONFIG to EXTRA_CONF_FILE 2023-05-23 16:40:21 +02:00
direction_finding_connectionless_tx doc: samples: update OVERLAY_CONFIG to EXTRA_CONF_FILE 2023-05-23 16:40:21 +02:00
direction_finding_peripheral doc: samples: update OVERLAY_CONFIG to EXTRA_CONF_FILE 2023-05-23 16:40:21 +02:00
eddystone samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
encrypted_advertising apps: misc void main -> int main fixes 2023-04-18 05:45:36 -07:00
handsfree samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
hap_ha Bluetooth: Use BT_BYTES_LIST_LEXX macros for encoding of data 2023-05-08 09:56:56 +02:00
hci_pwr_ctrl samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
hci_rpmsg samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
hci_spi samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
hci_uart doc: samples: update OVERLAY_CONFIG to EXTRA_CONF_FILE 2023-05-23 16:40:21 +02:00
hci_usb samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
hci_usb_h4 samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
ibeacon soc/arm/silabs: support BLE with PM in Series 2 SoCs 2023-05-24 13:31:44 -04:00
ipsp samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
iso_broadcast doc: samples: update OVERLAY_CONFIG to EXTRA_CONF_FILE 2023-05-23 16:40:21 +02:00
iso_broadcast_benchmark samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
iso_connected_benchmark samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
iso_receive doc: samples: update OVERLAY_CONFIG to EXTRA_CONF_FILE 2023-05-23 16:40:21 +02:00
mesh samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
mesh_demo samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
mesh_provisioner samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
mtu_update samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
observer samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
periodic_adv samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
periodic_adv_conn tests: samples: Resolve duplicates in names. 2023-05-16 06:21:25 -04:00
periodic_adv_rsp tests: samples: Resolve duplicates in names. 2023-05-16 06:21:25 -04:00
periodic_sync samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
periodic_sync_conn tests: samples: Resolve duplicates in names. 2023-05-16 06:21:25 -04:00
periodic_sync_rsp tests: samples: Resolve duplicates in names. 2023-05-16 06:21:25 -04:00
peripheral samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
peripheral_accept_list samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
peripheral_csc samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
peripheral_dis samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
peripheral_esp samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
peripheral_gatt_write samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
peripheral_hids samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
peripheral_hr samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
peripheral_ht samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
peripheral_identity samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
peripheral_iso samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
peripheral_ots samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
peripheral_past samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
peripheral_sc_only samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
scan_adv samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
st_ble_sensor samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
tmap_central Samples: Bluetooth: Fix build errors for TMAP central 2023-05-25 16:27:26 +02:00
tmap_peripheral Samples: Bluetooth: TMAP peripheral avoid using strtok 2023-05-25 16:27:26 +02:00
unicast_audio_client Bluetooth: BAP: Move endpoint discovery to new callback 2023-05-22 15:24:28 +02:00
unicast_audio_server samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
bluetooth.rst boards: arm: nrf5340dk_nrf5340: Rename NS target 2021-07-10 12:44:02 -04:00