You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Please state here what is currently happening. -->
4
4
5
5
**Expected Behaviour**
6
6
7
-
State here what the feature should enable the user to do.
7
+
<!-- State here what the feature should enable the user to do. -->
8
8
9
9
**Steps to reproduce it**
10
10
11
-
Add steps to reproduce bugs or add information on the place where the feature should be implemented. Add links to a sample deployment or code.
11
+
<!-- Add steps to reproduce bugs or add information on the place where the feature should be implemented. Add links to a sample deployment or code. -->
12
12
13
13
**LogCat for the issue**
14
14
15
-
Provide logs for the crash here
15
+
<!-- Provide logs for the crash here -->
16
16
17
17
**Screenshots of the issue**
18
18
19
-
Where-ever possible add a screenshot of the issue.
19
+
<!-- Where-ever possible add a screenshot of the issue. -->
20
20
21
21
**Would you like to work on the issue?**
22
22
23
-
Let us know if this issue should be assigned to you or tell us who you think could help to solve this issue.
23
+
<!-- Let us know if this issue should be assigned to you or tell us who you think could help to solve this issue. -->
This repository holds the Android App for performing experiments with [PSLab](https://pslab.io/). PSLab is a tiny pocket science lab that provides an array of equipment for doing science and engineering experiments. It can function like an oscilloscope, waveform generator, frequency counter, programmable voltage and current source and also as a data logger. Our website is at https://pslab.io
12
13
@@ -126,7 +127,14 @@ You can't debug the usual way as PSLab device is connected to micro-USB port thr
126
127
To debug over Wi-Fi: http://blog.fossasia.org/android-app-debugging-over-wifi-for-pslab/
127
128
128
129
Note :
129
-
1. If you built your own hardware, change VendorID and/or ProductID in [CommunicationHandler.java](https://github.com/fossasia/pslab-android/blob/master/app/src/main/java/org/fossasia/pslab/communication/CommunicationHandler.java)
130
+
1. If you built your own hardware, change VendorID and/or ProductID in [CommunicationHandler.java](https://github.com/fossasia/pslab-android/blob/master/app/src/main/java/io/pslab/communication/CommunicationHandler.java)
131
+
132
+
### Permissions Required
133
+
134
+
1. Record_Audio : It is required for oscilloscope to accept inputs from the phone inbuilt microphone. You can find its implementation in [AudioJack.java](https://github.com/fossasia/pslab-android/blob/development/app/src/main/java/io/pslab/others/AudioJack.java).
135
+
2. Access_Fine_Location and Internet : It is required for use in lux meter and compass to get the coordinates for tagging the data on the map. You can find its implementation in [GPSLogger.java](https://github.com/fossasia/pslab-android/blob/development/app/src/main/java/io/pslab/others/GPSLogger.java).
136
+
3. Write_External_Storage : It is required for storing log files from instruments that can be transferred out for future analysis.
137
+
4. Read_External_Storage : While writing logs in the storage, [CSVLogger.java](https://github.com/fossasia/pslab-android/blob/development/app/src/main/java/io/pslab/others/CSVLogger.java) first checks whether there is any CSVLogger directory exist or not and that require this read permission.
130
138
131
139
## Setup to use PSLab with Android App
132
140
To use PSLab device with Android, you simply need an OTG cable, an Android Device with USB Host feature enabled ( most modern phones have OTG support ) and PSLab Android App. Connect PSLab device to Android Phone via OTG cable. Rest is handled by App itself.
0 commit comments