@@ -442,15 +442,15 @@ SCENARIO("Test the encoding of command messages") {
442442 {
443443 ProvisioningJWTMessage command;
444444 command.c .id = CommandId::ProvisioningJWT;
445- memset (command.params .jwt , 0xCA , 246 );
445+ memset (command.params .jwt , 0xCA , 268 );
446446 uint8_t buffer[512 ];
447447 size_t bytes_encoded = sizeof (buffer);
448448
449449 CBORMessageEncoder encoder;
450450 Encoder::Status err = encoder.encode ((Message*)&command, buffer, bytes_encoded);
451451
452452 uint8_t expected_result[] = {
453- 0xda , 0x00 , 0x01 , 0x20 , 0x11 , 0x81 , 0x58 , 0xF6 ,
453+ 0xda , 0x00 , 0x01 , 0x20 , 0x11 , 0x81 , 0x59 , 0x01 , 0x0C ,
454454 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA ,
455455 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA ,
456456 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA ,
@@ -481,7 +481,10 @@ SCENARIO("Test the encoding of command messages") {
481481 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA ,
482482 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA ,
483483 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA ,
484- 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA ,
484+ 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA ,
485+ 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA ,
486+ 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA , 0xCA ,
487+ 0xCA , 0xCA , 0xCA , 0xCA ,
485488 };
486489
487490 // Test the encoding is
0 commit comments