Switched the device to MQTT mode using the windows VIRCOM configuration tool and setup the menu for my local broker server configuration.

I get the BLUE connect led on the module so that seems to be working.
Next step is to send data. I used a RS-232 protocol converter board I built for another project to generate test data.

That plugs into the MQTT device RS-232 plug.

Fragment of the PIC18F14Q41 test program.


Wonderful! I see the published data string from a remote subscriber also connected to the broker.

I get the BLUE connect led on the module so that seems to be working.
Next step is to send data. I used a RS-232 protocol converter board I built for another project to generate test data.

That plugs into the MQTT device RS-232 plug.

Fragment of the PIC18F14Q41 test program.
C:
void main(void)
{
uint8_t count=0;
// Initialize the device
SYSTEM_Initialize();
TMR0_SetInterruptHandler(tmr0isr);
TMR1_SetInterruptHandler(delayisr);
// Enable high priority global interrupts
INTERRUPT_GlobalInterruptHighEnable();
// Enable low priority global interrupts.
INTERRUPT_GlobalInterruptLowEnable();
TMR0_StartTimer();
TMR1_StartTimer();
while (1) {
// Add your application code
MLED_Toggle();
wdtdelay(100000);
if (UART1_is_tx_ready()) {
/*
* STDIO redirected to UART1
*/
printf("MQTT POE Testing %d \r\n",count++);
}
}
}


Wonderful! I see the published data string from a remote subscriber also connected to the broker.