Interfacing GPS location module with Bolt

@shivamishra97 The error is because you have not specified the data param of the mybolt.serialWrite() function.
I think the serialWrite() function takes some string data to be passed to the Bolt. The line should make use of response and not serialWrite().

Check your serialWrite function in send_sms section. You need to pass string parameter in the the serial write functions . For example :

mybolt.serialWrite('Hello')

Check the function details here https://github.com/Inventrom/bolt-api-python#uart-functions

Hi, So I am attempting to trace gps values from GPS module and transfer/manipulate the data,
This is what i have done so far:
1.Interfacing of GPS with successful
2.Tx and Rx of data from GPS to Arduino: Successful
3.Connected Tx and Rx of Arduino to Rx and Tx of Bolt: Successful
4. Trying to read serialData
This is what i was trying to write in python code:

while True:
	mybolt.serialWrite('getGPSData')
	response = mybolt.serialRead('Rx')
	print(response)

Output is:

"{\"value\": \"Invalid till value\", \"success\": \"0\"}"
"{\"value\": \"Invalid till value\", \"success\": \"0\"}"
"{\"value\": \"Invalid till value\", \"success\": \"0\"}"
"{\"value\": \"Invalid till value\", \"success\": \"0\"}"
"{\"value\": \"Invalid till value\", \"success\": \"0\"}"
"{\"value\": \"Invalid till value\", \"success\": \"0\"}"
"{\"value\": \"Invalid till value\", \"success\": \"0\"}"
"{\"value\": \"Invalid till value\", \"success\": \"0\"}"
"{\"value\": \"Invalid till value\", \"success\": \"0\"}"
"{\"value\": \"Invalid till value\", \"success\": \"0\"}"
"{\"value\": \"Invalid till value\", \"success\": \"0\"}"
"{\"value\": \"Invalid till value\", \"success\": \"0\"}"
"{\"value\": \"Invalid till value\", \"success\": \"0\"}"
"{\"value\": \"Invalid till value\", \"success\": \"0\"}"
"{\"value\": \"Invalid till value\", \"success\": \"0\"}"
"{\"value\": \"Invalid till value\", \"success\": \"0\"}"

Can you please suggest,which step did i do wrong??Please help.

serialRead() functions takes a positive integer as a string in the parameter. You have passed alphabet string in the serialRead that is incorrect. Please refer the code below.

from boltiot import Bolt
api_key = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
device_id  = "BOLT1234"
mybolt = Bolt(api_key, device_id)
response = mybolt.serialRead('10')

References :

Hi @shivamishra97
I’m doing my final year project which involves the same gps location sending via sms
Can you please share the complete code and hardware connections to me
It would be very helpful

Thanks for sharing the following information.It really helped us a lot.I want to include that I have been facing a severe problem of not being able to reset my GPS in my Android phone Samsung A20. I have followed out the guidelines as suggested by the garmin map updates free download 2019.
1.Firstly,opened Chrome.
2.Tapped on Settings (the 3 vertical dots on the top right)
3.Tapped on Site Settings.
4.Made sure possibly that settings for Location is set to “Ask First”
5.Tapped on Location.
6.Tapped on All Sites.
7.Scrolled down to ServeManager.
8.Tapped on Clear and Reset.
Suggest us if we have missed out on anything.