Skip to content

Publish message #2

@andreucci

Description

@andreucci

Hi Andreas, I'm doing a lot of test to understand the origin of the communication issue. I saw your suggestion to shift to [2] the payload start. Anyway i's not sufficient. Numbers shown of the App changes with the potmeter rotation but with no sense. I added some Serial.print in the P2PMQTT.cpp to check what was passed to the USB driver, just after the topic name "us", rotating the potmeter I have the strange ascii characters, but not related to the value red by the analog input. Changing the type of val from int to byte to char, what I read change but I don't manage to see on the serial something understandable VS analog read value. Furthermore, the issue I told you (the stuck at value 120 read by the analog port) is still there. I think the problem is on the Arduino code side. On the Android side we should go back to [0] as payload start, as the classes and method seem to be ok. Do you have an idea?
tnx, Andrea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions