File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -549,7 +549,7 @@ static bool requestAndSaveToNonVolatileMemory(const char* message,
549549 if (is_certificate) {
550550 // First erase the existing certifiate at the slot (if any)
551551 sprintf (command, AT_ERASE_CERTIFICATE, slot);
552- SequansController.writeBytes (command, strlen (command), true );
552+ SequansController.writeBytes (( uint8_t *) command, strlen (command), true );
553553
554554 // Dummy read of response, we don't care about the response as the modem
555555 // will return an error if there's no certificate to erase and OK if it
@@ -559,7 +559,7 @@ static bool requestAndSaveToNonVolatileMemory(const char* message,
559559 sprintf (command, AT_WRITE_CERTIFICATE, slot, data_length);
560560 } else {
561561 sprintf (command, AT_ERASE_PRIVATE_KEY, slot);
562- SequansController.writeBytes (command, strlen (command), true );
562+ SequansController.writeBytes (( uint8_t *) command, strlen (command), true );
563563
564564 // Dummy read of response, we don't care about the response as the modem
565565 // will return an error if there's no certificate to erase and OK if it
You can’t perform that action at this time.
0 commit comments