Home
last modified time | relevance | path

Searched refs:version2 (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_datetime/src/
Dsmp_test_util.c17 void smp_make_hdr(struct smp_hdr *rsp_hdr, size_t len, bool version2, bool write) in smp_make_hdr() argument
22 .nh_version = (version2 == true ? SMP_MCUMGR_VERSION_2 : SMP_MCUMGR_VERSION_1), in smp_make_hdr()
31 bool create_mcumgr_datetime_get_packet(zcbor_state_t *zse, bool version2, uint8_t *buffer, in create_mcumgr_datetime_get_packet() argument
40 smp_make_hdr((struct smp_hdr *)output_buffer, *buffer_size, version2, false); in create_mcumgr_datetime_get_packet()
48 bool create_mcumgr_datetime_set_packet_str(zcbor_state_t *zse, bool version2, const char *data, in create_mcumgr_datetime_set_packet_str() argument
58 smp_make_hdr((struct smp_hdr *)output_buffer, *buffer_size, version2, true); in create_mcumgr_datetime_set_packet_str()
65 bool create_mcumgr_datetime_set_packet(zcbor_state_t *zse, bool version2, struct rtc_time *a_time, in create_mcumgr_datetime_set_packet() argument
75 return create_mcumgr_datetime_set_packet_str(zse, version2, tmp_str, buffer, in create_mcumgr_datetime_set_packet()
Dsmp_test_util.h20 void smp_make_hdr(struct smp_hdr *rsp_hdr, size_t len, bool version2, bool write);
23 bool create_mcumgr_datetime_get_packet(zcbor_state_t *zse, bool version2, uint8_t *buffer,
27 bool create_mcumgr_datetime_set_packet_str(zcbor_state_t *zse, bool version2, const char *data,
31 bool create_mcumgr_datetime_set_packet(zcbor_state_t *zse, bool version2, struct rtc_time *a_time,