ngx-mqtt 相关问题


Ubuntu、mosquitto 和 paho-mqtt 出现 MQTT“协议版本无效”错误

我目前正在使用运行 Ubuntu 18.04 的 NVIDIA Jetson 开发 MQTT 项目。我已安装 mosquitto(版本 2.0.15)作为我的 MQTT 代理,并为我的 Python MQTT 安装 paho-mqtt(版本 1.6.1)...


ngx-color-picker 安装出现错误

我正在尝试按照以下说明在我的 Angular 应用程序中安装 ngx-color-picker: https://www.npmjs.com/package/ngx-color-picker/v/16.0.0 使用下面的命令安装它是有效的


如果单击事件不可用,则面临使用 ngx-charts 隐藏指针的问题

从昨天开始,我一直在尝试修补泳道/ngx-charts库,以在鼠标悬停时隐藏图表中的指针。我们正在使用这个库中的饼图,这就是默认的方式


SSL证书更新算法

我有一个 IoT 设备和一个 Android 应用程序。两者都通过 MQTT 服务器相互通信,并且该通信通过 SSL 加密。根据我的理解,出于安全考虑...


更新IOT设备参数

我有基于 Espressif ESP32 处理器的 IOT 设备,通过 MQTT 服务器与所有者的移动设备进行通信。我发现有时需要更新IOT设备参数。更新正在启动...


使用 MQTT 连接 DJI 无人机

连接无人机进行飞行规划和拍摄图像的开源项目的一部分,使用 mosquitto 库使用 js 连接到无人机。他们使用 DJI Phantom 4 测试了他们的应用程序......


在 Angular 中打开模态时出现ExpressionChangedAfterItHasBeenCheckedError

` `<ngx-datatable-column *ngIf="search_type ==='booking'" [width]="50" [sortable]="false" [canAutoResize]="false" [draggable]="false" [resizeable]="false"> <ng-template ngx-datatable-cell-template let-row="row" let-value="value"> <span class="fa fa-user-plus font-medium-3 text-primary cursor-pointer pl-1" (click)="onUpdateBookingLinguist(row)"></span> </ng-template> </ngx-datatable-column>` 上面是我的html代码,下面是我的ts代码 ` onUpdateBookingLinguist(linguist: Linguist) { const modalRef = this.modalService.open(ScheduledBookingModalComponent, { size: 'lg' }); modalRef.componentInstance.linguist_other_bookings = linguist['scheduled_booking']; modalRef.result.then((result) => { if (!result) { return; } this.cdr.detectChanges(); }).catch((e) => { }); this.cdr.detectChanges(); }` 我试图从 ngx-datatable-column 打开模式,但收到此错误 错误错误:NG0100:ExpressionChangedAfterItHasBeenCheckedError:表达式在检查后已更改。上一个值:“datatable-body-cell sort-active active”。当前值:'datatable-body-cell sort-active'.. 欲了解更多信息,请访问 https://angular.io/errors/NG0100 我尝试使用 ChangeDetectorRef.detectChanges() 手动触发更改检测,但仍然收到错误。 当您修改 Angular 在其更改检测周期期间也尝试检查或更新的属性时,通常会出现此错误。 因此您可以使用 ChangeDetectorRef 在特定情况下手动触发更改检测。通过从 ChangeDetectorRef 调用 detectorChanges(),您可以手动指示 Angular 对该组件及其子组件重新运行更改检测,从而可能解决问题 这是如何在组件中使用ChangeDetectorRef 的示例 构造函数(私有 cdr:ChangeDetectorRef){} ngAfterContentChecked() { this.cdr.detectChanges(); }


© www.soinside.com 2019 - 2024. All rights reserved.