mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-06 12:39:51 +00:00
test/pts: use l2cap_cbm_ecbm for credit-based mode tests
This commit is contained in:
parent
9a98c7803e
commit
d374cc2839
2
test/pts/.gitignore
vendored
2
test/pts/.gitignore
vendored
@ -31,7 +31,7 @@ hsp_ag_test
|
||||
hsp_hs_test
|
||||
iopt
|
||||
l2cap_test
|
||||
le_data_channel
|
||||
l2cap_cbm_ecbm
|
||||
profile.h
|
||||
sco_loopback
|
||||
sco_loopbackiopt
|
||||
|
@ -152,7 +152,7 @@ AVRCP_OBJ = $(AVRCP:.c=.o)
|
||||
HXCMOD_PLAYER_OBJ = ${HXCMOD_PLAYER:.c=.o}
|
||||
SRC_BLE_GATT_SERVICE_FILES_OBJ = ${SRC_BLE_GATT_SERVICE_FILES:.c=.o}
|
||||
|
||||
EXAMPLES = iopt gatt_server_test gatt_client_test l2cap_test classic_test bnep_test le_data_channel
|
||||
EXAMPLES = iopt gatt_server_test gatt_client_test l2cap_test classic_test bnep_test l2cap_cbm_ecbm
|
||||
EXAMPLES += hsp_ag_test hsp_hs_test sco_loopback hfp_ag_test hfp_hf_test
|
||||
EXAMPLES += avdtp_source_test avdtp_sink_test avrcp_test gatt_profiles hrp_col_test hrp_server_test
|
||||
EXAMPLES += hog_device_test hog_host_test hid_device_test hid_host_test
|
||||
@ -231,7 +231,7 @@ gap_peripheral_test: gap_peripheral_test.h ${CORE_OBJ} ${COMMON_OBJ} ${ATT_OBJ}
|
||||
gap_central_test: gap_central_test.h ${CORE_OBJ} ${COMMON_OBJ} ${SM_OBJ} ${ATT_OBJ} ${GATT_SERVER_OBJ} ${GATT_CLIENT_OBJ} att_db_util.o ad_parser.o gap_central_test.c
|
||||
${CC} $(filter-out gap_central_test.h,$^) ${CFLAGS} ${LDFLAGS} -o $@
|
||||
|
||||
le_data_channel: ${CORE_OBJ} ${COMMON_OBJ} ${SM_OBJ} ${ATT_OBJ} ad_parser.o le_data_channel.c
|
||||
l2cap_cbm_ecbm: ${CORE_OBJ} ${COMMON_OBJ} ${SM_OBJ} ${ATT_OBJ} ad_parser.o l2cap_cbm_ecbm.c
|
||||
${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@
|
||||
|
||||
hsp_ag_test: ${CORE_OBJ} ${COMMON_OBJ} ${SDP_CLIENT} hsp_ag.o hsp_ag_test.c
|
||||
|
@ -35,10 +35,10 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#define BTSTACK_FILE__ "le_data_channel.c"
|
||||
#define BTSTACK_FILE__ "l2cap_cbm_ecbm.c"
|
||||
|
||||
/*
|
||||
* le_data_channel.c
|
||||
* l2cap_cbm_ecbm.c
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
Tools:
|
||||
- l2cap_test.c
|
||||
- le_data_channel.c
|
||||
- l2cap_cbm_ecbm.c
|
||||
|
||||
# Sequences
|
||||
- L2CAP/COS/ECH/BV-02-C: l2cap_test - c, p, t
|
||||
@ -13,41 +13,41 @@ Tools:
|
||||
- L2CAP/FIX/BV-01-C:
|
||||
- L2CAP/EXF/BV-05-C:
|
||||
|
||||
- L2CAP/LE/CID/BV-01-C: le_data_channel - y, b, z, s
|
||||
- L2CAP/LE/CID/BV-02-C: le_data_channel - z, s
|
||||
- L2CAP/LE/CID/BV-01-C: l2cap_cbm_ecbm - y, b, z, s
|
||||
- L2CAP/LE/CID/BV-02-C: l2cap_cbm_ecbm - z, s
|
||||
|
||||
- L2CAP/COS/ECFC/BV-01: le_data_channel - S
|
||||
- L2CAP/COS/ECFC/BV-02: le_data_channel - confirm receive of data
|
||||
- L2CAP/COS/ECFC/BV-03: le_data_channel - confirm receive of data
|
||||
- L2CAP/ECFC/BV-01: le_data_channel - d, status 0x65 = Refused PSM - PTS: Command not understood
|
||||
- L2CAP/ECFC/BV-02: le_data_channel - d
|
||||
- L2CAP/ECFC/BV-03: le_data_channel - s, s,
|
||||
- L2CAP/ECFC/BV-04: le_data_channel - D, status 0x65 = Refused PSM - PTS: 0x0002
|
||||
- L2CAP/ECFC/BV-06: le_data_channel - s, s
|
||||
- L2CAP/ECFC/BV-07: le_data_channel - m, PTC connects, c
|
||||
- L2CAP/ECFC/BI-01: le_data_channel - (wait)
|
||||
- L2CAP/ECFC/BI-02: le_data_channel - m, PTS connects, c, t
|
||||
- L2CAP/ECFC/BV-08: le_data_channel - t
|
||||
- L2CAP/ECFC/BV-09: le_data_channel - (wait)
|
||||
- L2CAP/ECFC/BV-10: le_data_channel - d, status 0x66 = Security issue - PTS: 0x0005
|
||||
- L2CAP/ECFC/BV-11: le_data_channel - E (for LEVEL_3)
|
||||
- L2CAP/ECFC/BV-12: le_data_channel - d, status 0x66 = Security issue - PTS: 0x0006
|
||||
- L2CAP/ECFC/BV-13: le_data_channel - f (for LEVEL_3 + Authorization)
|
||||
- L2CAP/ECFC/BV-14: le_data_channel - d, status 0x66 = Security issue - PTS: 0x0007
|
||||
- L2CAP/ECFC/BV-15: le_data_channel - e (for LEVEL_2)
|
||||
- L2CAP/ECFC/BV-16: le_data_channel - d, s, status 0x67 = Resource issue - PTS: 0x0004
|
||||
- L2CAP/ECFC/BV-17: le_data_channel - (wait)
|
||||
- L2CAP/ECFC/BV-18: le_data_channel - d, status 0x0f = Unknown error - PTS: 0x0009
|
||||
- L2CAP/ECFC/BV-19: le_data_channel - d, status 0x0f = Unknown error - PTS: 0x000A
|
||||
- L2CAP/ECFC/BV-20: le_data_channel - (wait)
|
||||
- L2CAP/ECFC/BV-21: le_data_channel - d, status 0x0f = Unknown error - PTS: 0x000B
|
||||
- L2CAP/ECFC/BV-22: le_data_channel - r
|
||||
- L2CAP/ECFC/BV-23: le_data_channel - S, S, (reconfigure), S, S
|
||||
- L2CAP/ECFC/BI-03: le_data_channel - t
|
||||
- L2CAP/ECFC/BV-24: le_data_channel - r, r
|
||||
- L2CAP/ECFC/BV-25: le_data_channel - S, S, S, S, S, S, (reconfigure), S, S, S, S, S, (reconfigure), S, S, S, S, S
|
||||
- L2CAP/ECFC/BI-04: le_data_channel - (wait)
|
||||
- L2CAP/ECFC/BV-26: le_data_channel - (wait)
|
||||
- L2CAP/ECFC/BV-27: le_data_channel - s
|
||||
- L2CAP/ECFC/BI-05: le_data_channel - (wait)
|
||||
- L2CAP/ECFC/BI-06: le_data_channel - (wait)
|
||||
- L2CAP/COS/ECFC/BV-01: l2cap_cbm_ecbm - S
|
||||
- L2CAP/COS/ECFC/BV-02: l2cap_cbm_ecbm - confirm receive of data
|
||||
- L2CAP/COS/ECFC/BV-03: l2cap_cbm_ecbm - confirm receive of data
|
||||
- L2CAP/ECFC/BV-01: l2cap_cbm_ecbm - d, status 0x65 = Refused PSM - PTS: Command not understood
|
||||
- L2CAP/ECFC/BV-02: l2cap_cbm_ecbm - d
|
||||
- L2CAP/ECFC/BV-03: l2cap_cbm_ecbm - s, s,
|
||||
- L2CAP/ECFC/BV-04: l2cap_cbm_ecbm - D, status 0x65 = Refused PSM - PTS: 0x0002
|
||||
- L2CAP/ECFC/BV-06: l2cap_cbm_ecbm - s, s
|
||||
- L2CAP/ECFC/BV-07: l2cap_cbm_ecbm - m, PTC connects, c
|
||||
- L2CAP/ECFC/BI-01: l2cap_cbm_ecbm - (wait)
|
||||
- L2CAP/ECFC/BI-02: l2cap_cbm_ecbm - m, PTS connects, c, t
|
||||
- L2CAP/ECFC/BV-08: l2cap_cbm_ecbm - t
|
||||
- L2CAP/ECFC/BV-09: l2cap_cbm_ecbm - (wait)
|
||||
- L2CAP/ECFC/BV-10: l2cap_cbm_ecbm - d, status 0x66 = Security issue - PTS: 0x0005
|
||||
- L2CAP/ECFC/BV-11: l2cap_cbm_ecbm - E (for LEVEL_3)
|
||||
- L2CAP/ECFC/BV-12: l2cap_cbm_ecbm - d, status 0x66 = Security issue - PTS: 0x0006
|
||||
- L2CAP/ECFC/BV-13: l2cap_cbm_ecbm - f (for LEVEL_3 + Authorization)
|
||||
- L2CAP/ECFC/BV-14: l2cap_cbm_ecbm - d, status 0x66 = Security issue - PTS: 0x0007
|
||||
- L2CAP/ECFC/BV-15: l2cap_cbm_ecbm - e (for LEVEL_2)
|
||||
- L2CAP/ECFC/BV-16: l2cap_cbm_ecbm - d, s, status 0x67 = Resource issue - PTS: 0x0004
|
||||
- L2CAP/ECFC/BV-17: l2cap_cbm_ecbm - (wait)
|
||||
- L2CAP/ECFC/BV-18: l2cap_cbm_ecbm - d, status 0x0f = Unknown error - PTS: 0x0009
|
||||
- L2CAP/ECFC/BV-19: l2cap_cbm_ecbm - d, status 0x0f = Unknown error - PTS: 0x000A
|
||||
- L2CAP/ECFC/BV-20: l2cap_cbm_ecbm - (wait)
|
||||
- L2CAP/ECFC/BV-21: l2cap_cbm_ecbm - d, status 0x0f = Unknown error - PTS: 0x000B
|
||||
- L2CAP/ECFC/BV-22: l2cap_cbm_ecbm - r
|
||||
- L2CAP/ECFC/BV-23: l2cap_cbm_ecbm - S, S, (reconfigure), S, S
|
||||
- L2CAP/ECFC/BI-03: l2cap_cbm_ecbm - t
|
||||
- L2CAP/ECFC/BV-24: l2cap_cbm_ecbm - r, r
|
||||
- L2CAP/ECFC/BV-25: l2cap_cbm_ecbm - S, S, S, S, S, S, (reconfigure), S, S, S, S, S, (reconfigure), S, S, S, S, S
|
||||
- L2CAP/ECFC/BI-04: l2cap_cbm_ecbm - (wait)
|
||||
- L2CAP/ECFC/BV-26: l2cap_cbm_ecbm - (wait)
|
||||
- L2CAP/ECFC/BV-27: l2cap_cbm_ecbm - s
|
||||
- L2CAP/ECFC/BI-05: l2cap_cbm_ecbm - (wait)
|
||||
- L2CAP/ECFC/BI-06: l2cap_cbm_ecbm - (wait)
|
||||
|
Loading…
x
Reference in New Issue
Block a user