Making the switch to the CS version and ran into one small issue.

My low level Bluetooth socket packet leveraged the Inside Racket C API
scheme_fd_to_semaphore function.  Currently I am getting a "Not
implemented" message.  A search of Racket docs still finds it, however, it
appears to be dropped in the IO runtime changes.

Is there a new equivalent API call I can leverage?

Code is here:
https://gitlab.com/RayRacine/bluetooth-socket/blob/master/socket/bt-socket-ffi.rkt

It is a small standalone file.

The following reproduces the issue.

bt-socket-ffi.rkt> (define s (socket AF_BLUETOOTH SOCK_RAW BTPROTO_HCI
bt-socket-ffi.rkt> (scheme_fd_to_semaphore s 1 #t)
; scheme_fd_to_semaphore: implementation not found; arguments: 12 1 #t

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAL5pz%3D%2BFGLAUUh-bg0zMo%2BQkM%3DqFRPRz05w552sWxDjnQmWxdw%40mail.gmail.com.

Reply via email to