|
|
@ -10,7 +10,6 @@ using System;
|
|
|
|
using System.Collections.Concurrent;
|
|
|
|
using System.Collections.Concurrent;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
using System.Diagnostics;
|
|
|
|
|
|
|
|
using System.IO;
|
|
|
|
using System.IO;
|
|
|
|
using System.Linq;
|
|
|
|
using System.Linq;
|
|
|
|
using System.Net;
|
|
|
|
using System.Net;
|
|
|
@ -1028,6 +1027,7 @@ namespace IoTNode.DeviceServices.FBee
|
|
|
|
var password = ms.ReadASIIString(20);
|
|
|
|
var password = ms.ReadASIIString(20);
|
|
|
|
device.UserName = userName;
|
|
|
|
device.UserName = userName;
|
|
|
|
device.Password = password;
|
|
|
|
device.Password = password;
|
|
|
|
|
|
|
|
device.IsOnline = true;
|
|
|
|
deviceRepo.SaveChanges();
|
|
|
|
deviceRepo.SaveChanges();
|
|
|
|
ms.ReadByte();
|
|
|
|
ms.ReadByte();
|
|
|
|
ms.ReadByte();
|
|
|
|
ms.ReadByte();
|
|
|
|