File tree 3 files changed +11
-2
lines changed
3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " lora-package" ,
3
- "version" : " 1.1.0 " ,
3
+ "version" : " 1.1.1 " ,
4
4
"description" : " This is the Cumulocity LoRa plugin." ,
5
5
"scripts" : {
6
6
"start" : " c8ycli server --env.extraWebpackConfig=./extra-webpack.config.js -u https://lora-dev.cumulocity.com --shell devicemanagement" ,
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ <h4 class="card-title">{{ "Register devices" | translate }}</h4>
62
62
< i class ="fa fw dlt-c8y-icon-help-outline text-primary "> </ i >
63
63
</ button >
64
64
</ th >
65
+ < th > Type</ th >
65
66
< th > Codec</ th >
66
67
< th > Model</ th >
67
68
< ng-container *ngIf ="properties ">
@@ -132,6 +133,12 @@ <h4 class="card-title">{{ "Register devices" | translate }}</h4>
132
133
</ c8y-messages >
133
134
</ c8y-form-group >
134
135
</ td >
136
+ < td >
137
+ < c8y-form-group class ="form-group-sm ">
138
+ < input class ="form-control " #type ="ngModel " name ="type " [(ngModel)] ="pdevice.type "
139
+ aria-describedby ="type " (paste) ="onPaste($event, index) " />
140
+ </ c8y-form-group >
141
+ </ td >
135
142
< td >
136
143
< c8y-form-group class ="form-group-sm " [hasError] ="codec.invalid && (codec.dirty || codec.touched) ">
137
144
< select class ="form-control " #codec ="ngModel " name ="codec " [(ngModel)] ="pdevice.codec "
Original file line number Diff line number Diff line change @@ -510,6 +510,7 @@ export class LoraDevicesComponent {
510
510
devEUI : "" ,
511
511
appEUI : "" ,
512
512
appKey : "" ,
513
+ type : "" ,
513
514
codec : "" ,
514
515
model : "" ,
515
516
} ,
@@ -521,6 +522,7 @@ export class LoraDevicesComponent {
521
522
devEUI : "" ,
522
523
appEUI : "" ,
523
524
appKey : "" ,
525
+ type : "" ,
524
526
codec : "" ,
525
527
model : "" ,
526
528
} ) ;
@@ -595,7 +597,7 @@ export class LoraDevicesComponent {
595
597
pdevice . devEUI ,
596
598
pdevice . appEUI ,
597
599
pdevice . appKey ,
598
- "" ,
600
+ pdevice . type ,
599
601
pdevice . codec ,
600
602
pdevice . model ,
601
603
this . provisionDevice . instanceSelect ,
You can’t perform that action at this time.
0 commit comments