Home
last modified time | relevance | path

Searched full:2 (Results 1 – 25 of 33) sorted by relevance

12

/mcumgr-2.7.6/cborattr/test/src/testcases/
Dcborattr_decode_int_array.c57 * a: [1,2,33,15,-4] in test_encode_int_array()
63 cbor_encode_int(&array, 2); in test_encode_int_array()
97 [2] = { in TEST_CASE()
117 [2] = { in TEST_CASE()
128 TEST_ASSERT(arr_data[1] == 2); in TEST_CASE()
129 TEST_ASSERT(arr_data[2] == 33); in TEST_CASE()
Dcborattr_decode_unnamed_array.c57 * [1,2,33] in test_encode_unnamed_array()
61 cbor_encode_int(&array, 2); in test_encode_unnamed_array()
97 TEST_ASSERT(arr_data[1] == 2); in TEST_CASE()
98 TEST_ASSERT(arr_data[2] == 33); in TEST_CASE()
Dcborattr_decode_simple.c50 uint8_t data[4] = { 0, 1, 2 }; in test_encode_data()
103 [2] = { in TEST_CASE()
122 TEST_ASSERT(c_data[0] == 0 && c_data[1] == 1 && c_data[2] == 2); in TEST_CASE()
Dcborattr_decode_object_array.c59 * a: [ { h:"str1"}, {h:"2str"}, {h:"str3"}] in test_encode_object_array()
72 cbor_encode_text_stringz(&sub_obj, "2str"); in test_encode_object_array()
124 TEST_ASSERT(!strcmp(arr_objs[1].h_data, "2str")); in TEST_CASE()
125 TEST_ASSERT(!strcmp(arr_objs[2].h_data, "str3")); in TEST_CASE()
Dcborattr_decode_obj_array.c58 * a: [{ n:"a", v:1}, {n:"b", v:2} ] in test_encode_obj_array()
74 cbor_encode_int(&obj, 2); in test_encode_obj_array()
108 TEST_ASSERT(arr_cnt == 2); in TEST_CASE()
Dcborattr_encode_omit.c76 .bytestring.data = (uint8_t[]) {1, 2, 3}, in TEST_CASE_SELF()
103 .len = 2, in TEST_CASE_SELF()
Dcborattr_encode_simple.c69 .bytestring.data = (uint8_t[]) {1, 2, 3}, in TEST_CASE_SELF()
95 .len = 2, in TEST_CASE_SELF()
Dcborattr_decode1.c49 [2] = { in TEST_CASE()
Dcborattr_decode_bool_array.c100 TEST_ASSERT(arr_data[2] == false); in TEST_CASE()
Dcborattr_decode_substring_key.c92 [2] = { in TEST_CASE()
Dcborattr_decode_string_array.c134 TEST_ASSERT(!strcmp(str_ptrs[2], "blurb")); in TEST_CASE()
/mcumgr-2.7.6/cmd/log_mgmt/include/log_mgmt/
Dlog_mgmt.h35 #define LOG_MGMT_ERR_ENOMEM (2)
50 #define LOG_MGMT_ID_APPEND 2
62 #define LOG_MGMT_TYPE_STORAGE 2
70 #define LOG_MGMT_ETYPE_BINARY 2
/mcumgr-2.7.6/transport/
Dsmp-console.md17 offset 2: <16-bit packet-length>
29 offset 2: <body>
42 | Packet length | The combined total length of the *unencoded* body plus the final CRC (2 bytes). L…
Dsmp-bluetooth.md9 sent in the form of either 1) a GATT Write Command, or 2) a GATT Write Without
/mcumgr-2.7.6/
Dprotocol.md73 #define MGMT_OP_WRITE 2
89 0 1 2 3
90 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
117 Id: 2 # 0x02 in group 0x00 = OS_MGMT_ID_TASKSTAT
127 2016/11/11 12:45:44 [DEBUG] Writing newtmgr request &{Op:0 Flags:0 Len:0 Group:0 Seq:0 Id:2 Data:[]}
128 … Serializing request &{Op:0 Flags:0 Len:0 Group:0 Seq:0 Id:2 Data:[]} into buffer [0 0 0 0 0 0 0 2]
139 2016/11/11 12:45:44 [DEBUG] Deserialized response &{Op:0 Flags:0 Len:0 Group:0 Seq:0 Id:2 Data:[]}
1742 Data:[191 98 114 99 0 101 116 97 115 107 115 191 100 105 100 108 101 191 100 112 114 105 111 24 …
177 bleuart_bridge 5 2 0 1288579 256 31 0 0
212 00000020 65 30 2e 33 2e 30 64 68 61 73 68 58 20 d2 4c b3 |e0.3.0dhashX .L.|
[all …]
DREADME-mynewt.md13 2. An mcumgr transport
/mcumgr-2.7.6/cmd/os_mgmt/include/os_mgmt/
Dos_mgmt.h32 #define OS_MGMT_ID_TASKSTAT 2
/mcumgr-2.7.6/samples/smp_svr/
DREADME.md31 2. Create a target that ties the `smp_svr` app to your BSP of choice (nRF52dk in this example):
80 #### Step 2: Build MCUboot
/mcumgr-2.7.6/samples/omp_svr/mynewt/src/
Dmisc.c42 u8p[5], u8p[4], u8p[3], u8p[2], u8p[1], u8p[0]); in print_addr()
Dmain.c62 /* Task 2 */
424 /* Release semaphore to task 2 */ in task1_handler()
435 /* just for debug; task 2 should be the running task */ in task2_handler()
/mcumgr-2.7.6/cmd/img_mgmt/include/img_mgmt/
Dimg_mgmt.h52 #define IMG_MGMT_SWAP_TYPE_PERM 2
60 #define IMG_MGMT_ID_FILE 2
70 #define IMG_MGMT_ID_UPLOAD_STATUS_COMPLETE 2
/mcumgr-2.7.6/cmd/fs_mgmt/include/fs_mgmt/
Dfs_mgmt_config.h58 (1 + 2 + 1) + \
/mcumgr-2.7.6/cmd/img_mgmt/src/
Dimg_mgmt_state.c208 for (i = 0; i < 2; i++) { in img_mgmt_state_read()
292 [2] = { 0 }, in img_mgmt_state_write()
/mcumgr-2.7.6/mgmt/include/mgmt/
Dmgmt.h36 #define MGMT_OP_WRITE 2
45 #define MGMT_GROUP_ID_STAT 2
60 #define MGMT_ERR_ENOMEM 2
/mcumgr-2.7.6/omp/src/
Domp.c36 rc = cbor_encode_text_string(enc, "_h", 2); in omp_encode_mgmt_hdr()

12