DeviceLoad

Returns a ConsumerDevices object containing consumer's devices data

public ConsumerDevices DeviceLoad(bool <byHttps>, string <userName>, string <password>, DeviceLoadParameters <deviceLoadParameters>, ref char <messageType>, ref string <message>)

Parameters:

bool <byHttps> Set to true if you want to user https protocol otherwise, if you want to use http, set it to false
string <userName> A string containing the username assigned from MyWakes
string <password> A string containing the password for the MyWakes user
DeviceLoadParameters <deviceLoadParameters> A DeviceLoadParameters object containing command's specific parameters
ref char <messageType> A string containing output parameter that will return the type of message returned in <message> field: I=information, W=warning, E=error
ref string <message> A string containing output parameter with the message content

DeviceLoadParameters

UInt32 <Consumer> The Consumer's Id to read devices data linked to

Returned Type: ConsumerDevices

Returns a ConsumerDevices object that has the following structure:

Int32? <sms> user's number of SMS left
List<Device> <Devices> A List of Device objects

Device object

Contains each device setting data and has the following structure:
Int32 <id> device Id
Int32? <Type> device type, can have one of the following value: 1 = TK102-2, 2 = TK102, 4 = TK203, 5 = TK201-2, 6 = TK201, 7 = XT107, 20 = IFD6000, 21 = IFD-NET, 30 = Daggy, 40 = Angelo
DateTime <Expiration> service expiration date
string <IMEI> device's IMEI code
string <Tel> SIM's telephone number
string <Password> device password
uint? <ServerMode> connection mode to My Wakes platform, can be: 0 (zero) not connected, 1 (one) connected do My Wakes platform
string <APN> APN address of the SIM into the device
string <APNUser> APN user name
string <APNPassword> APN password
uint? <IntervalMode> timing sampling mode, can be: 0 (zero) disabled, 1 (one) enabled
uint? <Interval> sampling interval in seconds
uint? <SendInterval> permit to group more sampling into one packet
decimal <GeoLat1> virtual fence latitude in degree and decimal degrees. If the position is in the southern hemisphere the value will be negative so it will be preceded by a minus sign. If virtual fence is a circle this value is the latitude of the center of the circle, otherwise the top left of the area.
decimal <GeoLot1> virtual fence longitude in degree and decimal degrees. If the position is in the western hemisphere the value will be negative so it will be preceded by a minus sign. If virtual fence is a circle this value is the latitude of the center of the circle, otherwise the top left of the area.
decimal <GeoRadius1> virtual fence radius in meters.
decimal <GeoLat2> virtual fence latitude in degree and decimal degrees. If the position is in the southern hemisphere the value will be negative so it will be preceded by a minus sign. It is the latitude of the bottom right of the area.
decimal <GeoLon2> virtual fence longitude in degree and decimal degrees. If the position is in the western hemisphere the value will be negative so it will be preceded by a minus sign. It is the latitude of the bottom right of the area.
int32? <GPSMode> GPS mode, can be: 0 (zero) disabled, 1 (one) enabled
string <Phone1> first telephone number
string <Phone2> second telephone number
string <Phone3> third telephone number
string <CenterPhone> phone number to sent SMS and fences alarms to
int32 <TrackType> tracking mode, can be: -1 (minus one) no track is recorded, 0 (zero) – if track is private and still visible only to the track owner, 1 (one) – if the track will be published to a page that has to be shown to friends, 2 (two) – if the track can be published in a common page where all public tracks are visible to everybody
uint <Radar> consumer's position update mode: 0 (zero) the device will not update the consumer's position, 1 (one) the device will update the consumer's position
int32 <Battery> battery's charge percentage
Terms Of Use | Privacy Statement | Company info
  • © Cedac Sistemi srl
  • Head office: Via Toscana, 3 40035 Castiglione dei Pepoli (Italy) Tel.: +39 0534-93811 Fax: +39 0534-93899
  • Branch office: Via del Lavoro, 47 40033 Casalecchio di Reno (Italy)
  • Branch office: Via Parini, 1 40033 Casalecchio di Reno (Italy)
  • Share capital Euro 26,000.00 - Company Register of Bologna / VAT no / fiscal code 01695261204