Welcome to the FoxLearn
Today we will learn how to use a serial port
First, We will design a simple UI that allows you to select a port from a combobox
then send and receive message from a GSM modem or another device
The serial port class provides synchronous and event-driven I/O, access to pin and break states, and access to serial driver properties
Additionally, the functionality of this class can be wrapped in an internal Stream object, accessible through the BaseStream property, and passed to classes that wrap or use streams
You need to a GSM modem to play the demo
A GSM modem is a specialized type of modem which accepts a sim card, and operates over a subscription to a mobile operator, just like a mobile phone
From the mobile operator perspective, a GSM modem looks just like a mobile phone
When a GSM modem is connected to a computer, this allows the computer to use the GSM modem to communicate over the mobile network
While these GSM modems are most frequently used to provide mobile internet connectivity, many of them can also be used for sending and receiving SMS and MMS messages
A GSM modem can be a dedicated modem device with a serial, USB or Bluetooth connection, or it can be a mobile phone that provides GSM modem capabilities
Thank you for watching this video