TuyaInc / tuya_pulsar_sdk_go

8 stars 6 forks source link

Missing Acknoweldgement from Pulsar API #5

Closed nk-gears closed 5 years ago

nk-gears commented 5 years ago

Thanks for the Tuya GO SDK.

We should receive some acknowledgement when the client tries to connect to the pulsar server API.

Otherwise, we don't have a clue whether the Client connection is success or failure with the Pulsar API.

This may not be the issue with SDK, But, would like to raise this whether its possible to get an acknowledgment after the successful handshake with the server.

LvBay commented 5 years ago

The current prompt message is indeed not friendly enough. If sdk can successfully connect to pulsar, it would be friendly to print some logs. I will update some code later.

LvBay commented 5 years ago

I modified some code. Now when you connect pulsar, there will be some log information. @nk-gears

nk-gears commented 5 years ago

@LvBay, Thank you. It works good now and i can see the acknowledgement that the client is able to talk to pulsar service.