×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    4

    PAMP php reading bluetooth GPS data

    Hi,

    I wonder if it is possible to read GPS data from serial port with php. I have came across a piece of php code that opens serial ports under Windows or BSD but I cannot find any equivalent for S60 (3rd ed). What are the appropriate ways to read data from BT GPS without installing also python?

    thanks a lot,

  2. #2
    Registered User
    Join Date
    Mar 2009
    Posts
    4

    Re: PAMP php reading bluetooth GPS data

    Hi,

    I understand that mod_python is by default installed with MWS. In absence of any hint on how to collect data from a Blue Tooth GPS directly with php, I'll be using a python script called via AJAX from a php-generated interface.

    All the best,

  3. #3
    Registered User
    Join Date
    Nov 2008
    Posts
    24

    Re: PAMP php reading bluetooth GPS data

    Quote Originally Posted by greendorf View Post
    Hi,

    I understand that mod_python is by default installed with MWS. In absence of any hint on how to collect data from a Blue Tooth GPS directly with php, I'll be using a python script called via AJAX from a php-generated interface.

    All the best,
    I'm not an expert at all, but I had this same problem and what I did is to create a python script running in background that uses a PHP running in localhost to make INSERTs into a database.
    I use the database as an interface to share GPS information.

    One hint. I used REPLACE instead of INSERT to save the information into de database. I saw that after 800 inserts, the table was not usable anymore (64KB).

    So, I use a kind of RoundRobin database, so it never has more than 500 rows in my table.

    Share your approach when you have it. Maybe I will change my mind with my sharing-through-DB module.

Similar Threads

  1. Detect data transfer from bluetooth
    By sumit.rathi in forum Symbian
    Replies: 1
    Last Post: 2009-02-06, 11:17
  2. Which bluetooth profile to use to exchange data ?
    By arpit2agrawal in forum Mobile Java Networking & Messaging & Security
    Replies: 7
    Last Post: 2009-01-21, 18:55
  3. GPS data over bluetooth
    By lucca99 in forum Bluetooth Technology
    Replies: 7
    Last Post: 2007-06-16, 05:12
  4. Is there any example for connecting to a bluetooth gps device and get data?
    By kingofrp in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2006-12-14, 03:02
  5. Reading Position from a Bluetooth GPS
    By t43562 in forum Symbian
    Replies: 0
    Last Post: 2005-11-26, 11:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×