﻿G-Core/SmartphoneConnect by GEUTEBRÜCK GmbH

Requirements:
1) Install .Net Core 3.1 for this link https://dotnet.microsoft.com/download/dotnet-core/3.1
   - Download and install ASP.NET Core Runtime - for the Service
   - Download and install Desktop Runtime - for the Client
2) Install Visual C++ 2015-2019 Redistributable https://atka.ms/vs/16/release/vc_redist.x86.exe
3) Install Visual C++ 2010 Redistributable https://download.microsoft.com/download/5/B/C/5BC5DBB3-652D-4DCE-B14A-475AB85EEF6E/vcredist_x86.exe

How to register as a Windows service:
1) Open the command line in administrative permissions.
2) Register the application as a Windows service using command (space after "binPath=" is mandatory):  'sc create SmartphoneConnectService binPath= "path to SmartphoneConnectService.exe"'
3) Start service: 'sc start SmartphoneConnectService'
4) If you want to stop service then use: 'sc stop SmartphoneConnectService'
5) If you want to unregister service the use: 'sc delete SmartphoneConnectService'

By default, the Service uses 5100 port to wait The Client connection. But it is possible to change it using file appsettings.json

 

GCORE INTEGRATION:
1) For Scanned data events:

		if scanner is connected to the camera thuought area or operator:	"PrePosCallUp(Camera:{channel}, Position:{position}" - if connected camera is PTZ
																			"LogBarcodeData (Barcode:{barcodeStr}, Scanner:{scannerName}, AreaID:{areaId}, AreaName:{areaName}, Channel:{channel}, TimeStamp:{timeStamp}, Item:{itemStr}, Shipment:{scannerId}, Order:{eventId})"
																			"LogBarcodeDataLPS (Barcode:{barcodeStr}, Scanner:{scannerName}, AreaID:{areaId}, AreaName:{areaName}, Channel:{channel}, TimeStamp:{timeStamp}, Item:{itemStr}, Shipment:{scannerId}, Order:{eventId}, Latitude:{Latitude}, Longitude:{Longitude}, Z:{Altitude}, UserParam:{MessageType})"


		if scanner is not connected to the camera                           "LogBarcodeData (Barcode:{barcodeStr}, Scanner:{scannerName}, AreaID:{areaId}, AreaName:{areaName}, TimeStamp:{timeStamp}, Item:{itemStr}, Shipment:{scannerId}, Order:{eventId})";
																			"LogBarcodeDataLPS (Barcode:{barcodeStr}, Scanner:{scannerName}, AreaID:{areaId}, AreaName:{areaName}, TimeStamp:{timeStamp}, Item:{itemStr}, Shipment:{scannerId}, Order:{eventId}, Latitude:{Latitude}, Longitude:{Longitude}, Z:{Altitude}, UserParam:{MessageType})"																			
		where
		{channel} - camera global number
		{position} - camera preposition 

		{barcodeStr} - scanned Bar/QR/NFC code
		{scannerName} - scanner name
		{scannerId} - scanner guid
		{areaId} - area guid
		{areaName} - area name
		{timeStamp} - scanned event time
		{itemStr} - "-1" if the scanned code is registration/unregistration code (the code that connects/disconnects the scanner to the user and the user to the area), overwise empty
		{eventId} - string that contains "{DeviceId event Id}"
		{Latitude} - Latitude
		{Longitude} - Longitude
		{MessageType} - 1 is for position of scanned event, 2 - for position of menu event

2) For Menu events:

		if scanner is not connected to the operator:	"LogBarcodeID (ID:{eventValue}, ID2:{eventName}, Type:{eventType}, TimeStamp:{timestamp}, AreaID:{eventId}, Scanner:{DeviceId})"
														"LogBarcodeDataLPS (Scanner:{DeviceId}, AreaID:{eventId}, TimeStamp:{timestamp}, Item:{eventValue}, Shipment:{eventName}, Order:{eventType}, Latitude:{Latitude}, Longitude:{Longitude}, Z:{Altitude}, UserParam:{MessageType})"

		if Scanner connected to the operator but operator is not connected to the camera:	"LogBarcodeID (ID:{eventValue}, ID2:{eventName}, Type:{eventType}, TimeStamp:{timestamp}, AreaID:{eventId}, Scanner:{DeviceId}, Item:{operatorName})"
																							"LogBarcodeDataLPS (Scanner:{DeviceId}, AreaID:{eventId}, AreaName:{operatorName}, TimeStamp:{timestamp}, Item:{eventValue}, Shipment:{eventName}, Order:{eventType}, Latitude:{Latitude}, Longitude:{Longitude}, Z:{Altitude}, UserParam:{MessageType})"
																							
		if Scanner connected to the operator but operator and operator is connected to the camera:	"LogBarcodeID (ID:{eventValue}, ID2:{eventName}, Type:{eventType}, Channel:{channel}, TimeStamp:{timestamp}, AreaID:{eventId}, Scanner:{DeviceId}, Item:{operatorName})"
																									"LogBarcodeDataLPS (Scanner:{DeviceId}, AreaID:{eventId}, AreaName:{operatorName}, Channel:{channel}, TimeStamp:{timestamp}, Item:{eventValue}, Shipment:{eventName}, Order:{eventType}, Latitude:{Latitude}, Longitude:{Longitude}, Z:{Altitude}, UserParam:{MessageType})"
		where 
		{eventValue} - event value
		{eventName} - event name
		{eventType} - event type
		{channel} - camera global number
		{timestamp} - event time
		{eventId} - event Id
		{DeviceId} - scanner device id
		{operatorName} - operator name
		{Latitude} - Latitude
		{Longitude} - Longitude
		{MessageType} - 1 is for position of scanned event, 2 - for position of menu event


3) For streaming coordinates (intervally sent together with the videostream)

		if operator is connected to the camera:		"LPSPositionData (TagID:{channel} ScannerID:{DeviceId}, Latitude:{Latitude}, Longitude:{Longitude}, Z:{Altitude}, TimeStamp:{timestamp}, Data:{operatorName})"
		if operator is not connected to the camera: "LPSPositionData (ScannerID:{DeviceId}, Latitude:{Latitude}, Longitude:{Longitude}, Z:{Altitude}, TimeStamp:{timestamp}, Data:{operatorName})"

		where 
		{channel} - camera global number
		{timestamp} - event time
		{DeviceId} - scanner device id
		{Latitude} - Latitude
		{Longitude} - Longitude
		{operatorName} - operator name

Release 3.2.1 - 25.09.2022*******************************************************************************************
- GPS data for scan and event now sent to GCore using LogBarcodeDataLPS action

Release 3.2.0 - 08.08.2022*******************************************************************************************
- Add NFC reading (not all phones supported)
- Add GPS coordinates send with the events and video stream
- fixed the issue with Reg/Unreg bu scans from Mobile App


Release 3.1.5 - 09.02.2022*******************************************************************************************
- Fixed bug with mobile app reconnection
- Improved stability of the video stream
- Add encryption to all network connections


Release 3.1.4 - 20.09.2021*******************************************************************************************
- Changed default client port from 5000 to 5100
- Now, port and host can be set at appsettings.json
- Updated GCert
- Fixed bug with entities renaming
- Fixed bug with GCore integration settings save
- Fixed mobile app packets issue related with GPS support


Release 3.1.3 - 20.06.2021*******************************************************************************************
- UI fixes and other minor fixes
- add ability to set the Client's connectin port.
- Improved security


Release 3.1.1 - 09.03.2021*******************************************************************************************
- Add GCert to the Service and to the GCore Plugin
- Internal project improvements

GCore Camera Plugin 1.1.1
- Remaster of the GCore Plugin


Release 3.1.0 - 04.12.2020*******************************************************************************************
- Fixed and improved Licenses


Release 3.0.1 - 27.10.2020*******************************************************************************************
- Client now has dark UI


Release 3.0.0 - 16.07.2020*******************************************************************************************
- All projects were updated to .NET Core 3.1
- Now project was separated to server and client
- Server can be run as console app and as Windows service


Release 2.1.10 - 01.09.2019*******************************************************************************************

SmartphoneConnectServer 2.1.10
- Scanners now can send ActionMobileCamScanEvent
- Add to GUI Event wait timeout for SmartphoneConnect Actions sync
- Minor bug fixes

SmartphoneConnect Integration 1.5.0
- Now using of new datetime format with support of GMT Offset
+ Support of delayed recording using internal buffers on mobile device
+ Support of SmartphoneConnect photo events
- Video protocol between SmartphoneConnectServer and GCore was totally refactored

Geutebrueck Integration 1.0.6
- Add Event started catch
- SmartphoneConnect action now DeviceID moved to scnner name param
- SmartphoneConnect action now includes Message ID in area Nymber param
- Scanner action now includes DeviceID and Message ID in item param
- For LogBarcodeData UnregFlag has been moved form Order param to Item param

GCore Camera Plugin 1.1.0
- Switched to new SmartphoneConnect Video protocol


Release 2.1.9 - 20.06.2019*******************************************************************************************

Geutebrueck Integration 1.0.5
- Scanner action now includes GUID in shipment param
- SmartphoneConnect action now includes DeviceID in shipment param


Release 2.1.8 - 13.02.2019*******************************************************************************************

SmartphoneConnect Integration 1.4.0
- Rewrited SmartphoneConnect connection code


Release 2.1.7 - 11.02.2019*******************************************************************************************

SmartphoneConnect Integration 1.3.5
- Improved SmartphoneConnect connection stability
- Improved SmartphoneConnect disconnect process
+ Add visibility settings for disconnect menu item
+ Fixed connect media stream status indicator


Release 2.1.6 - 08.02.2019*******************************************************************************************

SmartphoneConnect Integration 1.3.4
+ Scanned data event from SmartphoneConnect now receiving from media protocol if media protocol is used. If media protocol is not used scanned data event receiving from control protocol.
- Fixes GUI for operator button settings
* Optimized internal network proessing
+ Add GCert fro GCore SmartphoneConnect plugin
- SmartphoneConnect Hardware provider now use SmartphoneConnect DeviceID instead of IP Address to reference SmartphoneConnect App
+ Now new file will be generated each day for logs
+ Add application version to log file on application start


Release 2.1.5 - 02.02.2019*******************************************************************************************

SmartphoneConnectServer 2.1.5
- Updated about windw
- Minor bug fixes 

SmartphoneConnect Integration 1.3.3
+ Updated GUI. Now ports, poll and media protocol address settings are hidden by default. You need to click on SmartphoneConnect server or Video server tab header and press F10 or F11 to show and hide these settings
+ Now events can be receved in both modes: Media Protocol and RTSP protocol.


Release 2.1.4 - 19.01.2019*******************************************************************************************

SmartphoneConnect Integration 1.3.2
- Fixed SmartphoneConnect integration settings save/load
+ Fixed and updated message receiver from SmartphoneConnect. Now server receives messages in one network stream with video.

Geutebrueck Integration 1.0.3
- Fixed wrong action on message from SmartphoneConnect.


Release 2.1.3 - 15.01.2019*******************************************************************************************

SmartphoneConnect Integration 1.3.1
- Fixed SmartphoneConnect->SmartphoneConnectServer integration
- Fixed SmartphoneConnect integration Video Server
- Fixed SmartphoneConnect integration Video Client
- Fixed Geurebrueck plugin
+ Add some timeout settings to SmartphoneConnect plugin GUI
- Tune SmartphoneConnect integraion timeouts


Release 2.1.2 - 06.11.2018*******************************************************************************************

SmartphoneConnectServer 2.1.2
- Changed Icon
- Minor bug fixes 

SmartphoneConnect Integration 1.3.0
+ Add ability to get video from SmartphoneConnect by own media protocol
+ Add ability to send video to external systems
+ Add ability to control SmartphoneConnect screen buttons

Geutebrueck Integration 1.0.2
- Minor bug fixes


Release 2.1.1 - 04.07.2018*******************************************************************************************

SmartphoneConnectServer 2.1.1
+ Add About window
- Fixed errors when operator and scanner lists selection changed
- Now it is possible to change IsStatic property from UI
- Message when user try to change IsStatic field now has Info type (was Error)
- Scanner send scanned data even if operator is not assigned

SmartphoneConnect Integration 1.2.1
- IsEnabled now affects on scanned and menu event processing
- Now UI shows event ID but as readonly
+ It is posseble to set Barcode for operator accout for SmartphoneConnect using UI


Release 2.1.0 - 23.06.2018*******************************************************************************************

SmartphoneConnectServer 2.1.0
+ Add actions subsystem
* Fixed property output in Entity tree
- Scanner will not send any scanned data until operator will be assigned

SmartphoneConnect Integration 1.2.0
+ Add support of actions subsystem
+ Add events menu configuration
+ Id of event now generate automatically
- Fixed port input field. Now it allows only numbers from 0 to 65535
+ SmartphoneConnect hardware provider: IpAddress field in UI now is list of connected apps

Geutebrueck Integration 1.0.2
+ Add support of actions subsystem

ScannerGrabber Integration 1.0.1
- Fixed port input field. Now it allows only numbers from 0 to 65535
- Fixed timeout input field. Now it allows only numbers from 0 to 4294967295

Artis Integration 1.0.2
- Fixed port input field. Now it allows only numbers from 0 to 65535


Release 2.0.5 - 06.06.2018*******************************************************************************************

SmartphoneConnectServer 2.0.5
* Fixed issue with Not Availible IPAddres in TCPServer Start
* Minor log improvements

SmartphoneConnect Integration 1.1.0
+ SmartphoneConnect now can be source of Scanned data

Geutebrueck Integration 1.0.1
- Configuration files have been moved to "Data" folder instead of root folder
* Handled SDK exception on dispose


Release 2.0.4 - 31.05.2018*******************************************************************************************

SmartphoneConnectServer 2.0.4
+ Add buttons "Add" and "Remove" in the Entities tree
- Fixed error when network interface removed from operation system (Wifi turned off for example)
* Fixed some issues with serialization

SmartphoneConnect Integration 1.0.2
+ Add 0.0.0.0 IP address to receive data from any IP in the OS system
+ List of IP addresses now create in dynamic when combo box is opening

Artis Integration 1.0.1
+ Add 0.0.0.0 IP address to receive data from any IP in the OS system
+ List of IP addresses now create in dynamic when combo box is opening



