The following information is for the EMANT380

Python S60 with EMANT380

Beta Python Driver for the EMANT380 Bluetooth DAQ for the Symbian S60 3rd Edition. The driver is incomplete. The folder Python Symbian S60 with EMANT380 can be downloaded from info.emant.com (customers access only)

Note:

  • Please edit programs using the IDLE IDE (when using the emulator) as any errors reported will help in troubleshooting problems.
  • The examples are written for the Light Application Adaptor which is part of the Bluetooth DAQ Starter Kit. However if you do not have the Light Application Adaptor, you will only be able to read the HwId.
  • Bluetooth Starter Kit

  • Before running the examples you must:
    • Modify the mac address for your EMANT380 module
    • Pair the EMANT380 to your Nokia phone

New to Symbian S60

If you are new to Symbian S60 Python programming, please familiarise yourself with the environment before attempting to run the following examples. You should install Python on your SD Drive. Due to security, some file areas are hidden. The Python folder on the SD Drive can be browsed when you connect your phone to the PC. Copy all the files in this folder to the Python folder on your phone including the lib folder. Don't change the name.

Run the Python examples provided by Nokia. Only when you can successfully run their examples, should you attempt the following examples.

Install Symbian S60 emulator

To install the Symbian S60 emulator on Windows XP and use Python to communicate with the EMANT380, do the following

  1. Download and extract all files of S60-SDK-200634-3.1-Cpp-f.1090b.zip (S60 3rd Edition SDK for Symbian OS, Supporting Feature Pack 1) from Nokia website. Read the S60 3rd Edition SDK for Symbian OS, Supporting Feature Pack 1, for C++ S60 platform Installation Guide. Run setup.exe. Note that you will need
    • ActivePerl 5.6.1 or newer
    • Java Run Time
  2. Download PythonForS60_1_4_4_SDK_3rdEdFP1.zip (Python for Series 60 SDK 1.2) . Unzip the sdk_files. Copy the files in the epoc32 folder to the Epoc32 folder in the Series 60 SDK Symbian OS folder you created in the earlier step. The path that you will probably need to copy the epoc32 folder to is C:/Symbian/9.2/S60_3rd_FP1
  3. Download and install the S60 Bluetooth Driver. Read the S60 Bluetooth Driver Installation Guide. Bluetooth connectivity with the S60 emulator has been tested with the following SDKs:
    • S60 3rd Edition SDK for Symbian OS, Maintenance Release
    • S60 3rd Edition SDK for Symbian OS, Supporting Feature Pack 1

Before running the example, do modify the mac address to your EMANT380 first. Click on the following links to watch how to pair the EMANT380 to S60 and run the Python program.

Python S60 with EMANT380 exercises 1-5

Python S60 with EMANT380 GUI exercise