How can I use Sockets to communicate between the Vex Cortex microcontroller and a laptop?

How can I use Sockets to communicate between the Vex Cortex microcontroller and a laptop? I want to be able to setup a UDP Client/Server…

That’s not possible, there’s no TCP/IP stack running on the cortex.

How does it communicate between the controller and the remote using Wi-Fi?

Has anyone strapped a Wiznet module or a Microchip Wi-Fi board to a Vex Cortex?

Communication between cortex and joystick uses VEXnet, this is a proprietary wireless protocol. Some users have used Wi-Fi (and bluetooth) to serial adapters and connected these to the UART port on the cortex.

I see…

Can this PROS application do it?

Here’s an example.
https://vexforum.com/t/bnsbluetooth-robotc-library-for-the-hc-05/29982/1

Yes, we offer the same access to the UART ports as you would get in ROBOTC.

Our competition team this year set up two-way communication between a Raspberry Pi 3 board and the Cortex in this way.

1 Like

Thank you all for your help. I will look into using PROS for VEX Cortex development.

Glad to hear it! :slight_smile:

You can pay a visit to our site pros.cs.purdue.edu to find resources for getting started.

That’s what the VEXNet key is for, it’s a transmitter