You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jack ning 4adda0eceb
update
3 years ago
..
lib update 3 years ago
bytedesk_mqtt.dart update 3 years ago
bytedesk_payload_builder.dart open source sdk 3 years ago
readme.md update 3 years ago

readme.md

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

mqtt 说明

  // added by jackning, 2019/12/03
  void addProtobuf(Uint8List val) {
    _payload!.addAll(val);
  }
  • 修改src/messages/connect/mqtt_client_mqtt_connect_payload.dart注释掉函数 set clientIdentifier限制clientId长度的代码
  • 修改lib/mqtt_browser_client.dart,替换 import 'dart:html'; 为 import 'package:universal_html/html.dart';

TODO

  • 搞定继承MqttClientPayloadBuilder之后将mqtt包改为package依赖