Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FATFileSystem
Fork of F401RE-USBHost by
USBHostSocketModem Class Reference
A class to communicate a USB flash disk. More...
#include <USBHostSocketModem.h>
Inherits IUSBEnumerator.
Public Member Functions | |
USBHostSocketModem () | |
Constructor. | |
bool | connected () |
Check if a MSD device is connected. | |
bool | connect () |
Try to connect to a MSD device. | |
void | testAT () |
Send AT command test function. |
Detailed Description
A class to communicate a USB flash disk.
Definition at line 27 of file USBHostSocketModem.h.
Constructor & Destructor Documentation
Member Function Documentation
bool connect | ( | ) |
Try to connect to a MSD device.
- Returns:
- true if connection was successful
Definition at line 61 of file USBHostSocketModem.cpp.
bool connected | ( | ) |
Check if a MSD device is connected.
- Returns:
- true if a MSD device is connected
Definition at line 56 of file USBHostSocketModem.cpp.
void testAT | ( | ) |
Send AT command test function.
Sends the "AT" command which responds with "OK" if sim card is present else "ERROR".
Definition at line 158 of file USBHostSocketModem.cpp.
Generated on Sat Jul 16 2022 20:21:19 by
