Skip to content

[ERROR] wpc_int:Didn't receive answer to the request 0x0c #62

@domingguss

Description

@domingguss

Hi, managed to compile the example but it seems it can't connect to the sink...

Setup:

  • wirepas (dual mcu) usb dongle connected to a computer which is acting as a sink.
  • wirepas (dual mcu) connected to usb this computer acting als non-routing node

I have tested this setup using wirepas commander and was able to send/receive data using this tool, so i now try to use the c-mesh-api example app to act as non-routing node to connect to the sink but I can't find any info on what the example is doing (trying to do).

I used these settings:

// Default serial port
char * port_name = "/dev/ttyUSB0";

// Node configuration
#define NODE_ADDRESS 0x02
#define NODE_ROLE APP_ROLE_SUBNODE
#define NETWORK_CHANNEL 0x17
#define NETWORK_ADDRESS 0x0C3B05

After compiling, i get these logs:

pi@raspberrypi:~/projects/wirepas-sink/src/c-mesh-api-master/example/build $ ./meshAPIExample 
2022-10-08 07:27:29,440 | [DEBUG] SERIAL:Custom bitrate set: 115200
2022-10-08 07:27:29,442 | [INFO] wpc_int:WPC initialized
2022-10-08 07:27:29,961 | [ERROR] wpc_int:Didn't receive answer to the request 0x04
2022-10-08 07:27:29,962 | [ERROR] wpc_int:No poll answer
2022-10-08 07:27:30,481 | [ERROR] wpc_int:Didn't receive answer to the request 0x06
2022-10-08 07:27:31,502 | [ERROR] wpc_int:Didn't receive answer to the request 0x0c
2022-10-08 07:27:32,026 | [ERROR] wpc_int:Didn't receive answer to the request 0x0c
[..]
2022-10-08 07:28:29,237 | [ERROR] wpc_int:Didn't receive answer to the request 0x0c
2022-10-08 07:28:29,757 | [ERROR] wpc_int:Didn't receive answer to the request 0x0c
2022-10-08 07:28:29,758 | [WARNING] linux_plat:Exiting dispatch thread

Can someone explain what is going wrong here? I just want to send some data from the non-routing-node to the sink

Metadata

Metadata

Assignees

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