emqx / emqx-sn

EMQX MQTT-SN Gateway
https://www.emqx.com
Apache License 2.0
30 stars 20 forks source link

refactor(emqx_sn_gateway): Ensure binary client ID #170

Closed zmstone closed 3 years ago

zmstone commented 3 years ago

The emqx_message:make API requires first argument to be binary.

Not entirely sure if this tuple client ID has its special use case though.

HJianBo commented 3 years ago

The tuple client ID has been deprecated on the previous (probably after v4.0.). However, I think it's fine to just use the ClientID here, there's no need to use a specialised Username