Supported Communications; Bluetooth; Wi-Fi - SATO PV3 Manual

Xamarin sdk
Hide thumbs Also See for PV3:
Table of Contents

Advertisement

3-2 Supported Communications

3-2-1 Bluetooth

HOST must be paired with Bluetooth device for Bluetooth communication in advance. Make
sure to include necessary permissions (or capabilities) to each platform before using APIs in
this manual. Please refer to the table following for permission settings.

3-2-2 Wi-Fi

HOST and device (printer) can only communicate over TCP / IP on the same wired / wireless
network. Make sure to include necessary permissions (or capabilities) to each platform before
using APIs in this manual. Please refer to "3-3" in this manual for permission settings.
Platform
1. Update the Info.plist file by opening it in XML editor or text editor. Add the
following to the file. This is to allow your app to access the Bluetooth port.
<key>UISupportedExternalAccessoryProtocols</key>
<array><string>com.sato.protocol</string></array>
<key>NSBluetoothAlwaysUsageDescription</key>
<string>Communication with the printer</string>
2. Put a checkmark on "External Accessory communication" checkbox as a
below.
iOS
Make sure to include following capabilities in the AndroidManifest.xml file.
- BLUETOOTH, BLUETOOTH_ADMIN, BLUETOOTH_PRIVILEGED
- ACCESS_WI-FI_STATE, CHANGE_WI-FI_STATE
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:installLocation="auto">
<uses-sdk android:minSdkVersion="15" />
Android
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.BLUETOOTH_PRIVILEGED" />
<uses-permission android:name="android.permission. ACCESS_WI-FI_STATE " />
<uses-permission android:name="android.permission. CHANGE_WI-FI_STATE " />
</manifest>
Make sure to include following capabilities in the "Package.appxmanifest" file.
Windows
- Bluetooth, Internet (Client), Private Networks (Client & Server)
Ver. 1.01
Required permission / capabilities
- 6 -
Xamarin SDK

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pv4

Table of Contents