xref: /btstack/test/gatt_client/expected_results.h (revision 7490001f078e0016ceea2b032c268b8f78fb356e)
14762dcfaS[email protected] #include <stdint.h>
24762dcfaS[email protected] 
34762dcfaS[email protected] const uint8_t primary_service_uuids[][16] = {
44762dcfaS[email protected] 	{0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb},
54762dcfaS[email protected] 	{0x00, 0x00, 0x18, 0x01, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb},
64762dcfaS[email protected] 	{0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb},
74762dcfaS[email protected] 	{0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb},
84762dcfaS[email protected] 	{0x00, 0x00, 0xf0, 0x00, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb},
94762dcfaS[email protected] 	{0x00, 0x00, 0xf0, 0x01, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb}
104762dcfaS[email protected] };
114762dcfaS[email protected] 
124762dcfaS[email protected] const uint16_t service_uuid16 = 0xF000;
134762dcfaS[email protected] const uint8_t primary_service_uuid16[]  = {0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb};
144762dcfaS[email protected] const uint8_t primary_service_uuid16_handles[]  = {0x24, 0x55};
154762dcfaS[email protected] 
164762dcfaS[email protected] const uint8_t primary_service_uuid128[] = {0x00, 0x00, 0xf0, 0x01, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb};
174762dcfaS[email protected] const uint8_t primary_service_uuid128_handles[]  = {0x56, 0x7A};
184762dcfaS[email protected] 
194762dcfaS[email protected] const uint8_t included_services_uuid16[] = {0x00, 0x00, 0xff, 0xf4, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb};
204762dcfaS[email protected] const uint8_t included_services_uuid16_handles[2] = {0x1F, 0x23};
214762dcfaS[email protected] 
224762dcfaS[email protected] const uint8_t included_services_uuid128[][16] = {
234762dcfaS[email protected] 	{0x00, 0x00, 0xff, 0x10, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb},
244762dcfaS[email protected] 	{0x00, 0x00, 0xff, 0x11, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb},
254762dcfaS[email protected] };
264762dcfaS[email protected] 
274762dcfaS[email protected] const uint8_t included_services_uuid128_handles[][2] = {
284762dcfaS[email protected] 	{0x0F, 0x11},
294762dcfaS[email protected] 	{0x12, 0x14}
304762dcfaS[email protected] };
314762dcfaS[email protected] 
324762dcfaS[email protected] uint8_t characteristic_handles[][2]= {
334762dcfaS[email protected] 	{0x26, 0x2a}, {0x2b, 0x2f}, {0x30, 0x32}, {0x33, 0x35}, {0x36, 0x38},
344762dcfaS[email protected] 	{0x39, 0x3b}, {0x3c, 0x3e}, {0x3f, 0x41}, {0x42, 0x44}, {0x45, 0x47},
35*7490001fSMatthias Ringwald 	{0x48, 0x49}, {0x4a, 0x4f}, {0x50, 0x51}, {0x52, 0x53}, {0x54, 0x55}
364762dcfaS[email protected] };
374762dcfaS[email protected] 
384762dcfaS[email protected] uint8_t characteristic_uuids[][16] = {
390b5f1a3aS[email protected] 	{0x00, 0x00, 0xf1, 0x00, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb},
404762dcfaS[email protected] 	{0x00, 0x00, 0xf1, 0x01, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb},
410b5f1a3aS[email protected] 	{0x00, 0x00, 0xf1, 0x02, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb},
424762dcfaS[email protected] 	{0x00, 0x00, 0xf1, 0x03, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb},
430b5f1a3aS[email protected] 	{0x00, 0x00, 0xf1, 0x04, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb},
444762dcfaS[email protected] 	{0x00, 0x00, 0xf1, 0x05, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb},
450b5f1a3aS[email protected] 	{0x00, 0x00, 0xf1, 0x06, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb},
464762dcfaS[email protected] 	{0x00, 0x00, 0xf1, 0x07, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb},
470b5f1a3aS[email protected] 	{0x00, 0x00, 0xf1, 0x08, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb},
484762dcfaS[email protected] 	{0x00, 0x00, 0xf1, 0x09, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb},
494762dcfaS[email protected] 	{0x00, 0x00, 0xf1, 0x0a, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb},
504762dcfaS[email protected] 	{0x00, 0x00, 0xf1, 0x0b, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb},
510b5f1a3aS[email protected] 	{0x00, 0x00, 0xf1, 0x0d, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb},
52*7490001fSMatthias Ringwald 	{0x00, 0x00, 0xf1, 0x0c, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb},
53*7490001fSMatthias Ringwald 	{0x00, 0x00, 0xf1, 0x0e, 0x00, 0x00, 0x10, 0x00, 0x80, 0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb},
544762dcfaS[email protected] };
556cb9fd80S[email protected] 
566cb9fd80S[email protected] uint8_t indication[] = {GATT_CLIENT_CHARACTERISTICS_CONFIGURATION_NOTIFICATION, 0x00};
576cb9fd80S[email protected] char long_value[] = "abcdefghijklmnopqrstuvwxyz";
586cb9fd80S[email protected] char short_value[] = "abcd";
596cb9fd80S[email protected] uint16_t short_value_length = sizeof(short_value);
606cb9fd80S[email protected] uint16_t long_value_length  = sizeof(long_value);
616cb9fd80S[email protected] 
626cb9fd80S[email protected] 
63