[vip-help] Work with the server
Yadav, Amit Kumar Singh
yadav48 at purdue.edu
Sun Sep 22 22:00:47 EDT 2024
Hi Nam,
Bluepill is a Linux machine. Below is a beginner tutorial of commands used for Linux machine.
https://ubuntu.com/tutorials/command-line-for-beginners<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fubuntu.com%2Ftutorials%2Fcommand-line-for-beginners&data=05%7C02%7Cvip-help%40ecn.purdue.edu%7C59c32eb44bd14432d15c08dcdb738b0b%7C4130bd397c53419cb1e58758d6d63f21%7C0%7C0%7C638626536501850946%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=7lLV3ztjSvHt0JxOClc0b4FDrRDUV2AFsBeBCuzNbn0%3D&reserved=0>
I assume by setting up bluepill server you are referring to connection between phone and server. We use https and php to communicate between phone and server. The attachment below is the code sample for how we communicate from the app to the server using https and php. You don’t need every line of the code, but you can see how we set the key, package the file and send as the https request and retrieve information back from server. They are many resource online by searching “sending image/file to server android studio https” or “https request in android studio". The link attached is a tutorial I found using php and https to send image to server.
https://www.youtube.com/watch?v=TMnQJKtmOd4<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DTMnQJKtmOd4&data=05%7C02%7Cvip-help%40ecn.purdue.edu%7C59c32eb44bd14432d15c08dcdb738b0b%7C4130bd397c53419cb1e58758d6d63f21%7C0%7C0%7C638626536501850946%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=AoEa8tniKgp2%2B7GXHCuLBO9mA5KPHqnvi1RGOFRx33Y%3D&reserved=0>
For the Fall 2020 semester, they used php with http request to receive the image, this is a more traditional way, and we have experience on php, so we may provide more help on this method:
https://buddy-boy4.ecn.purdue.edu:3000/VIP-APPS/IBMA_F20
Besides php, there are many packages that can handle the https communication between app and server. Some of them are easy to use, however we probably will provide limited amount of help on those packages if you meet problems.
For the Spring 2021 semester Apps team, they used Node.js for server side to receive the image send from the mobile devices. You can look at the project at the link below. We did not use Node.js for our own project, so the help in Node.js will be limited.
https://buddy-boy4.ecn.purdue.edu:3000/VIP-APPS/LicensePlateDetection_S21/src/Max/Server
You can always check the previous teams codes on the Gog, you all have full access to them.
Happy learning!
Sincerely,
--------------
Amit Kumar Singh Yadav
Ph.D. Candidate
Research Assistant
Video and Image Processing Laboratory (VIPER)
School of Electrical and Computer Engineering
Purdue University
465 Northwestern Avenue
West Lafayette, IN 47907-2035
U.S.A.
Telephone: +1 765 714 7056
email: yadav48 at purdue.edu<mailto:yadav48 at purdue.edu>
--------------
From: vip-help <vip-help-bounces at ecn.purdue.edu> on behalf of Nam Hoang Tran <tran333 at purdue.edu>
Date: Sunday, September 22, 2024 at 8:51 PM
To: vip-help at ecn.purdue.edu <vip-help at ecn.purdue.edu>
Subject: [vip-help] Work with the server
Some people who received this message don't often get email from tran333 at purdue.edu. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
Dear VIP team
I am Nam Tran, and I am in the VIP APPS teams.
I hope this message finds you well.
I'm new to the Bluepill machine and would greatly appreciate your assistance. Could you kindly provide me with a tutorial or any relevant documentation on how to use it effectively? Additionally, I would be grateful if you could guide me through the process of setting up a server using the Bluepill machine.
Your support will be immensely helpful as I get up to speed with this new tool.
Thank you in advance for your assistance!
Best regards,
Nam Tran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </ECN/mailman/archives/vip-help/attachments/20240923/00f8dde9/attachment-0001.htm>
More information about the vip-help
mailing list