Skip to content

Commit 2f127e7

Browse files
committed
libmbed: rebuild H7 and EDGE_CONTROL
1 parent 8f450c8 commit 2f127e7

File tree

8 files changed

+19
-2
lines changed

8 files changed

+19
-2
lines changed

cores/arduino/mbed/connectivity/cellular/include/cellular/framework/API/CellularDevice.h

+11
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,17 @@ class CellularDevice {
201201
*/
202202
virtual nsapi_error_t soft_power_off() = 0;
203203

204+
/** Resets the modem via AT command
205+
*
206+
* @remark CellularStateMachine disconnect or destruct does not reset the modem,
207+
* but you need to do that yourself.
208+
*
209+
* @pre You must call shutdown to prepare the modem for reset.
210+
*
211+
* @return NSAPI_ERROR_OK on success
212+
*/
213+
virtual nsapi_error_t soft_reset() = 0;
214+
204215
/** Open the SIM card by setting the pin code for SIM.
205216
*
206217
* @param sim_pin PIN for the SIM card

cores/arduino/mbed/connectivity/cellular/include/cellular/framework/AT/AT_CellularDevice.h

+2
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ class AT_CellularDevice : public CellularDevice {
8080

8181
virtual nsapi_error_t soft_power_off();
8282

83+
virtual nsapi_error_t soft_reset();
84+
8385
virtual nsapi_error_t set_pin(const char *sim_pin);
8486

8587
virtual nsapi_error_t get_sim_state(SimState &state);

cores/arduino/mbed/connectivity/drivers/cellular/GEMALTO/CINTERION/GEMALTO_CINTERION.h

+3
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ class GEMALTO_CINTERION : public AT_CellularDevice {
5555

5656
protected:
5757
virtual nsapi_error_t init();
58+
virtual nsapi_error_t shutdown();
59+
virtual nsapi_error_t soft_power_off();
60+
virtual nsapi_error_t soft_reset();
5861

5962
private:
6063
static Module _module;

cores/arduino/mbed/connectivity/drivers/cellular/GEMALTO/CINTERION/GEMALTO_CINTERION_CellularStack.h

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ class GEMALTO_CINTERION_CellularStack : public AT_CellularStack {
4343
void stopGNSS();
4444
void PSMEnable();
4545
void PSMDisable();
46+
int ping(const char *host, int ttl);
4647

4748
protected:
4849

variants/EDGE_CONTROL/defines.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
-DFEATURE_STORAGE=1
3939
-D__FPU_PRESENT=1
4040
-D__MBED__=1
41-
-DMBED_BUILD_TIMESTAMP=1738678638.4581091
41+
-DMBED_BUILD_TIMESTAMP=1746428391.1444259
4242
-D__MBED_CMSIS_RTOS_CM
4343
-DMBED_MPU_CUSTOM
4444
-DMBED_TICKLESS

variants/EDGE_CONTROL/libs/libmbed.a

2.25 KB
Binary file not shown.

variants/PORTENTA_H7_M7/defines.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
-D__FPU_PRESENT=1
4747
-DLSE_STARTUP_TIMEOUT=200
4848
-D__MBED__=1
49-
-DMBED_BUILD_TIMESTAMP=1738678521.1974137
49+
-DMBED_BUILD_TIMESTAMP=1746428317.212161
5050
-D__MBED_CMSIS_RTOS_CM
5151
-DMBED_TICKLESS
5252
-DMBEDTLS_FS_IO
2.33 KB
Binary file not shown.

0 commit comments

Comments
 (0)