cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 6 MCU

Soram
Employee

Hi, in mqtt client anycloud is there a way to change the publishInfo.pPayload value in publisher_task.c file so that I can send numerical value instead of string or turn on ....

0 Likes
1 Solution
Rakshith
Moderator
Moderator

Hi @Soram

pPayload is a void pointer in the example. So it should be possible if you pass an integer pointer to the payload. Please let us know if you face any issues with this.

Rakshith_0-1614353784815.png

Thanks and Regards,
Rakshith M B

View solution in original post

0 Likes
1 Reply
Rakshith
Moderator
Moderator

Hi @Soram

pPayload is a void pointer in the example. So it should be possible if you pass an integer pointer to the payload. Please let us know if you face any issues with this.

Rakshith_0-1614353784815.png

Thanks and Regards,
Rakshith M B

View solution in original post

0 Likes
Top labels