Class RN131

  • All Implemented Interfaces:
    Ippc32, Actionable

    public class RN131
    extends Task
    Driver for Roving RN-131C WiFly Module.
    Usage:
    Connect the RN131WiFly module to the serial port of the MPC555 (RXD1/TXD1 or RXD2/TXD2).
    The WiFly module can also be configured with a Terminal Program like PuTTY with a baud rate of 115200 kbps, no flow control. More information to the RN131WiFly can be found at microchip.com

    The WiFly module has to be configured as follows:

    factory RESET
    set uart baudrate 115200
    set sys printlvl 0
    set uart mode 0x21
    savee

    • Constructor Detail

    • Method Detail

      • getState

        public RN131.State getState()
        Gets the internal state of the driver.
        Returns:
        current state of the driver
      • connected

        public boolean connected()
        Checks if a TCP connection
        Returns:
        true if a TCP connection exists, false otherwise
      • reset

        public void reset()
        Resets the internal state machine of the driver.
      • action

        public void action()
        Do not call this method.
        Specified by:
        action in interface Actionable
        Overrides:
        action in class Task