Replies: 4 comments
-
I'm working on this feature at my fork: https://github.com/jpacora/kaluma/tree/pico-w const { PicoCYW43WIFI } = require('pico_cyw43');
const wifi = new PicoCYW43WIFI()
wifi.ap_mode({ ssid:"HostSpot", password: "hola123456" }) ToDo:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi JorgeThat‘s great news. Thank you. Is there already a uf2 bundle available for testing or can you give me directions on how to build one myself? With just the code K downloaded from Github I‘m not able to build anything. Best regards,PeterVon meinem iPhone gesendetAm 16.03.2023 um 05:39 schrieb Jorge Pacora ***@***.***>:
I'm working on this feature on my fork: https://github.com/jpacora/kaluma/tree/pico-w
const { PicoCYW43WIFI } = require('pico_cyw43');
const wifi = new PicoCYW43WIFI()
wifi.ap_mode({ ssid:"HostSpot", password: "hola123456" })
ToDo:
DHCP Server
DNS Server (captive portal)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I got the DHCP server working based on the pico-examples Please test this UF2 firmware: const { PicoCYW43WIFI } = require('pico_cyw43')
const wifi = new PicoCYW43WIFI()
wifi.ap_mode({ ssid:"HostSpot", password: "hola1234" })
/**
* Server
*/
const http = require('http')
const SERVER_PORT = 80;
const onListen = () => {
console.log(`HTTP server listening on port: ${SERVER_PORT}`)
}
const server = http.createServer((req, res) => {
const message = `Requested: ${req.url}`
const html = `<h1>${message}</h1>`
console.log(message)
//response
res.writeHead(200, 'OK', {
'Content-Type': 'text/html',
'Content-Length': html.length,
});
res.write(html);
res.end();
});
setTimeout(() => {
server.listen(SERVER_PORT, onListen)
}, 2000) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi Jorge
Thank you for the UF2 File.
I had no problem installing and running the firmware.
I first connected with my MacBook Pro to the Pico W and got the following output
DHCPS: client connected: MAC=f0:18:98:3b:64:71 IP=192.168.4.16 <— MacBook
[CYW43] got unexpected packet -9
[CYW43] got unexpected packet -9
[CYW43] got unexpected packet -9
The I flashed the pico again and connected with my iPhone without any problem.
Then I disconnected my iPhone and connected with the MacBook again withe the same output as before
DHCPS: client connected: MAC=3a:b5:e0:06:c3:f0 IP=192.168.4.16
DHCPS: client connected: MAC=3a:b5:e0:06:c3:f0 IP=192.168.4.16 <— iPhone
DHCPS: client connected: MAC=f0:18:98:3b:64:71 IP=192.168.4.17 <— MacBook
[CYW43] got unexpected packet -9
[CYW43] got unexpected packet -9
[CYW43] got unexpected packet -9
I hope this is of any help for you. Can I debug something? I would just need some advice on how to do it. ;-)
Best regards
Peter
… On 16 Mar 2023, at 23:48, Jorge Pacora ***@***.***> wrote:
I got the DHCP server work based on the pico-examples <https://github.com/raspberrypi/pico-examples/tree/master>
<https://user-images.githubusercontent.com/2137673/225768885-24148cea-fb6e-4bdd-be23-0fab522da44b.png>
Please test this UF2 firmware:
kaluma.pico-w.ap.zip <https://github.com/kaluma-project/kaluma/files/10996427/kaluma.pico-w.ap.zip>
—
Reply to this email directly, view it on GitHub <#561 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AACXZKZHO67D75PS5ODZ4LTW4OKDZANCNFSM6AAAAAAVYXXIY4>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there
Maybe it's me, but I can't find a way to use the pico w as an access point (except with microPython "network.WLAN(network.AP_IF)")
Is there a way of doing it with kaluma as well and if not, is there a plan of supporting AP mode in the near future?
Thanks for enlightening me :-)
Peter
Beta Was this translation helpful? Give feedback.
All reactions