lib/fpm.c
int16_t fpm_standby(FPM * fpm) {
    fpm->buffer[0] = FPM_STANDBY;
    write_packet(fpm, FPM_COMMANDPACKET, fpm->buffer, 1);
    uint8_t confirm_code = 0;
    int16_t rc = read_ack_get_response(fpm, &confirm_code);
    
    if (rc < 0)
        return rc;
    
    return confirm_code;
}
/* tested on R551 modules,
   standby current measured at 10uA, UART and LEDs turned off,
   no other documentation available */
tested on R551 modules,
standby current measured at 10uA, UART and LEDs turned off,
no other documentation available
tested on R551 modules standby current measured at 10uA UART and LEDs turned off no other documentation available
int16_t fpm_standby(FPM * fpm) {
    fpm->buffer[0] = FPM_STANDBY;
    write_packet(fpm, FPM_COMMANDPACKET, fpm->buffer, 1);
    uint8_t confirm_code = 0;
    int16_t rc = read_ack_get_response(fpm, &confirm_code);
    if (rc < 0)
        return rc;
    return confirm_code;
}
int16_t fpm_standby ( FPM * fpm ) { fpm -> buffer [ 0 ] = FPM_STANDBY ; write_packet ( fpm , FPM_COMMANDPACKET , fpm -> buffer , 1 ) ; uint8_t confirm_code = 0 ; int16_t rc = read_ack_get_response ( fpm , & confirm_code ) ; if ( rc < 0 ) return rc ; return confirm_code ; }
tested on R551 modules,
standby current measured at 10uA, UART and LEDs turned off,
no other documentation available
tested on R551 modules standby current measured at 10uA UART and LEDs turned off no other documentation available