Searched refs:BT_CONN_ROLE_PERIPHERAL (Results 1 – 14 of 14) sorted by relevance
38 conn->info.role = BT_CONN_ROLE_PERIPHERAL; in test_conn_init()
24 #define ISOAL_ROLE_PERIPHERAL (BT_CONN_ROLE_PERIPHERAL)25 #define ISOAL_ROLE_BROADCAST_SOURCE (BT_CONN_ROLE_PERIPHERAL + 1U)26 #define ISOAL_ROLE_BROADCAST_SINK (BT_CONN_ROLE_PERIPHERAL + 2U)
95 if (err || info.role != BT_CONN_ROLE_PERIPHERAL || !service_registered || in gatt_connected()111 if (err || info.role != BT_CONN_ROLE_PERIPHERAL || !service_registered || in gatt_disconnected()
1139 if (err || info.role != BT_CONN_ROLE_PERIPHERAL || !service_registered || in gatt_connected()1186 if (err || info.role != BT_CONN_ROLE_PERIPHERAL || info.id != BT_ID_DEFAULT) { in gatt_disconnected()
55 if (info.role == BT_CONN_ROLE_PERIPHERAL) { in connected()
66 conn->info.role = BT_CONN_ROLE_PERIPHERAL; in test_conn_init()
794 BT_CONN_ROLE_PERIPHERAL = 1, enumerator
674 conn->role = BT_CONN_ROLE_PERIPHERAL; in bt_hci_role_change()
770 } else if (info.role == BT_CONN_ROLE_PERIPHERAL) { in connected()3453 case BT_CONN_ROLE_PERIPHERAL: return "peripheral"; in get_conn_role_str()3922 case BT_CONN_ROLE_PERIPHERAL: in role_str()
1226 conn->role == BT_CONN_ROLE_PERIPHERAL) { in bt_conn_set_state()1544 conn_role == BT_CONN_ROLE_PERIPHERAL && deallocated) { in bt_conn_unref()
127 if (info.role == BT_CONN_ROLE_PERIPHERAL) { in le_connected()
4215 role = BT_CONN_ROLE_PERIPHERAL; in ZTEST()4409 role = BT_CONN_ROLE_PERIPHERAL; in ZTEST()7550 role = BT_CONN_ROLE_PERIPHERAL; in ZTEST()7920 role = BT_CONN_ROLE_PERIPHERAL; in ZTEST()
3541 role = BT_CONN_ROLE_PERIPHERAL; in ZTEST()7707 role = BT_CONN_ROLE_PERIPHERAL; in ZTEST()
108 :c:macro:`BT_CONN_ROLE_CENTRAL` and :c:macro:`BT_CONN_ROLE_PERIPHERAL`