**** BEGIN LOGGING AT Sat Sep 03 02:59:56 2022 Sep 03 03:25:27 If I am writing C/C++ source, do I need to use config-pin to handle gpio pins or can I just use C/C++? Sep 03 03:28:30 Or would I need the pin muxed to default? Sep 03 03:30:55 Or...in the new images, how things are sourced, p9.16 is just PWM (no if's, and's, or but's about it)? Sep 03 03:31:17 Time to learn something new! Sep 03 04:33:35 Okay. Phew. LibGPIOd works so far. What about sysfs? Sep 03 04:33:51 Dang it. It is past 10. Sorry Sep 03 10:51:35 set_: doing anything with libgpiod will break sysfs gpio until you reboot Sep 03 20:45:45 Okay. Sep 04 00:18:15 best way to control PocketBeagle IoT from iphone Sep 04 00:19:08 You were right. Everything is back to normal after a reboot! Sep 04 00:19:29 huh? Sep 04 00:20:06 Guest66: Hello. I think using, from my ideas, flask and a server may prove valuable. Sep 04 00:20:26 Or...another html style web application? Sep 04 00:21:01 I'm programing everything in python on the beagle. how to connect from public side of internet Sep 04 00:21:53 Oh! Pure Python? Flask is a python3 microframework... Sep 04 00:22:14 A .service file can get you to the web too! Sep 04 00:22:47 For instance... Sep 04 00:22:50 I can connect to the beagle via home wifi, I want to control it remotely from iPhone external internet connection Sep 04 00:23:01 Right...oh. Sep 04 00:23:15 SFTP? Sep 04 00:23:44 Do you want to control your files via sftp or a web app? Sep 04 00:24:24 I use ssh to view files on the beagle and a browser to run die programs now Sep 04 00:24:38 ide Sep 04 00:24:39 Oh. Sep 04 00:24:48 beaglebone.local:3000 Sep 04 00:25:00 just need to get to ip address through modem Sep 04 00:25:08 Oh. ip a Sep 04 00:27:25 Oh. Sep 04 00:28:14 So, are you going to need to use the ip address at home or elsewhere, i.e. outside of the network? Sep 04 00:30:02 I find that using the Python3 modules located here, https://docs.python.org/3/library/http.server.html, may help. Sep 04 00:30:15 I envision simply logging into my network from outside then selecting app to run on a device on the home network Sep 04 00:30:16 Anyway, I think I may be at a loss here. I am not completely sure what you want. Sep 04 00:30:24 Oh. Sep 04 00:30:29 Thank you. Sep 04 00:30:31 That helps. Sep 04 00:31:41 Usually for me, owning a web address is easier b/c they have hosted services. But...if you are looking to host, that is viable. Sep 04 00:31:53 For instance, there is bind9. Sep 04 00:32:07 Not too easy to set up but could work. Sep 04 00:32:40 not hosting, just sending commands to activate and read sensors from the beagle Sep 04 00:33:40 Flask, html, python, and other libs. can get you there. I used an online website to handle a bot before. Sep 04 00:34:08 Most people like Qt4 or 5. Sep 04 00:34:17 But, I like Flask and html. Sep 04 00:34:28 Tornado is another one. Sep 04 00:34:31 I was hoping others have done this before and developed routines already Sep 04 00:35:02 Oh...maybe. I am sure many people are here that know how. I say stick around. Sep 04 00:35:07 I am sure someone will chime in. Sep 04 00:35:38 Guest66: 'wireguard'... setup a wireguard vpn and configure every device you want to access a wireguard cert, including your phone.. Sep 04 00:35:40 If in doubt, use what you are already doing as a back up. Sep 04 00:36:18 wireguard kernel module and user space is pre-installed on every beagle image.. it's up to you to configure the server, and point everything.. pivpn is a good place to setup the intiial server.. Sep 04 00:37:00 where do I find information on the beagle vpn? Sep 04 00:37:14 extra points if you setup your dns server on the wireguard server.. ;) Sep 04 00:37:37 Guest66: look at pivpn for the 'basic' script... doesn't have to be pi, could be x85/arm/etc.. https://www.pivpn.io/ Sep 04 00:40:45 a gross process is to send text via email to the beagle... Sep 04 00:41:55 node-red is pre installed on port 1880... ;) still no idea how to use it.. Sep 04 00:44:57 email! Sep 04 01:25:38 ahoy folks: do you guys do any cross-compilation for image building? or is it all built on top of arm hardware? Sep 04 01:31:45 Me? no but I have noticed that cross-compilation done for image building better be done by a hefty arm processor! Sep 04 01:32:08 bbl! Sep 04 01:44:23 I used someone's lib. and I think I tweaked it to handle PWM! Sep 04 01:44:42 Now, if I can only remember where I got it. Sep 04 01:48:08 I think it is from that fellow that wrote the PRU Cookbook. Sep 04 01:48:27 Sorry. Sep 04 01:48:55 How can I tell which pwm instance under /dev/ is P9.16? Sep 04 01:53:59 never mind me. Sep 04 01:54:01 I got it. Sep 04 02:15:55 Does this work well w/ the BBB? https://pastebin.com/gACMv4sk Sep 04 02:20:03 Oh. let me check config-pin blah. Sep 04 02:41:50 It may not be me this time. Does the PWM peripherals work on the BBB w/ image 5.10.x? **** ENDING LOGGING AT Sun Sep 04 02:59:57 2022