New Affix Release: Affix-0_9pre10
Subsystems (2)
Hello,
Find new affix release Affix-0_9pre10 on
http://affix.sourceforge.net
- additional locks added
- Added Master Slave switch
btctl connectrole [master|slave]
- added timeout for HCI commands (for buggy devices)
- fixed action on receiving DM packet
- added kpatch-2.4.17
- fixed btsrv to be compiled w/o SDP
- added *debmod* & *debapp* rules to compile Debian packages
- !!! added additional installation notes
br, Dmitry
Signature · 7 lines
Dmitry Kasatkin Nokia Research Center / Helsinki Mobile: +358 50 4836365 E-Mail: [email protected] NB. Now I am Dmitry Kasatkin instead of Dmitri Kassatkine
New Affix Release: Affix-0_9
Hi,
Find new affix release Affix-0_9pre10 on
http://affix.sourceforge.net
Version 0.9 [01.02.2002]
!!! NOTES
Do not patch the kernel with this version.
Patch will be available soon
- btctl shows all available devices in the system
btctl -i bt0
"-i" this options is used to handle certain devices
- btuarto changed by btuart.o & btuart_cs.o
btctl open_uart /dev/ttyS0
btctl close_uart /dev/ttyS0
commands are use to open Bluetooth adapters having UART interface
- Added HCI socket (internally used only now) BTPROTO_HCI
- Added some object locks
- Added btsdp_browse
Use
btsdp_browse <bda | local>
to browse SDP server data base
br, Dmitry
Signature · 4 lines
Dmitry Kasatkin Nokia Research Center / Helsinki Mobile: +358 50 4836365 E-Mail: [email protected]
Re: New Affix Release: Affix-0_9
In reply to Dmitry KasatkinHi,
Here is small patch. Apply it for Affix-0_9
Otherwise RFCOMM will not work.
br, Dmitry
Quoted 29 lines · Dmitry Kasatkin
Hi,
Find new affix release Affix-0_9pre10 on
http://affix.sourceforge.netVersion 0.9 [01.02.2002]
!!! NOTES
Do not patch the kernel with this version.
Patch will be available soon- btctl shows all available devices in the system
btctl -i bt0
"-i" this options is used to handle certain devices
- btuarto changed by btuart.o & btuart_cs.o
btctlopen_uart/dev/ttyS0
btctlclose_uart/dev/ttyS0
commands are use to open Bluetooth adapters having UART interface
- Added HCI socket (internally used only now)BTPROTO_HCI
- Added some object locks
- Addedbtsdp_browse
Use
btsdp_browse<bda | local>
to browse SDP server data basebr, Dmitry
Signature · 4 lines
Dmitry Kasatkin Nokia Research Center / Helsinki Mobile: +358 50 4836365 E-Mail: [email protected]
kernel/btcore/af_hci.c +2 -1
@@ -19,7 +19,7 @@*/ /* -$Id: af_hci.c,v 2.15 2002/02/01 12:56:59 kds Exp $ +$Id: af_hci.c,v 2.17 2002/02/04 07:46:07 kds Exp $ AF_AFFIX - HCI Protocol Address family for socket interface
@@ -499,6 +499,7 @@ } hsk->hci = hci; + hsk->evl->hci = hci;DBFEXIT ;return err;
kernel/btcore/l2cap.c +4 -2
@@ -19,7 +19,7 @@*/ /* -$Id: l2cap.c,v 2.38 2002/02/01 14:16:26 kds Exp $ +$Id: l2cap.c,v 2.40 2002/02/04 07:50:40 kds Exp $ Link Layer Control and Adaptation Protocol
@@ -1248,6 +1248,8 @@if ( !hcc_linkup (ch->con) )return 0 ; + ch->hdrlen = con->hdrlen +L2CAP_HDR_LEN ; +if (STATE (ch) ==CHN_CLOSED ) {ENTERSTATE (ch,CHN_W4_L2CAP_CRSP );l2cap_connect_req (ch->con,get_id (ch), ch->psm, ch->lcid);
@@ -1364,7 +1366,7 @@ err = -ENOTCONN ; goto exit; } - +DBPRT (DBXMITE ,"Headroom is: %d\n" ,skb_headroom (skb));send_data (ch, skb); exit:
kernel/btcore/rfcomm.c +7 -1
@@ -19,7 +19,7 @@*/ /* -$Id: rfcomm.c,v 2.53 2002/01/25 13:17:13 kds Exp $ +$Id: rfcomm.c,v 2.54 2002/02/04 08:33:22 kds Exp $ RFCOMM - RFCOMM protocol for Bluetooth
@@ -330,6 +330,8 @@if ( !rfcomm_connected (sn) )return 0 ; + con->hdrlen = sn->hdrlen +LONG_HDR_SIZE +1 ; +if (STATE (con) ==RFCON_CLOSED ) {ENTERSTATE (con,RFCON_W4_CONRSP ); con->dlci |= (!sn->initiator &0x01 );/* set session bit */
@@ -610,6 +612,8 @@while ( con &&IS_DEAD (con) ) con =BTL_NEXT (con);if ( con ) { + con->hdrlen = sn->hdrlen +LONG_HDR_SIZE +1 ; +/* FIXME: check state here */ con->credit_based =1 ; con->pops->control_ind (con,TYPE_REQUEST ,NULL );/* FIXME: ?? */
@@ -620,6 +624,8 @@rfcomm_con *next;btl_for_each_next (con, sn->cons, next)if ( status ==0 ) { + con->hdrlen = sn->hdrlen +LONG_HDR_SIZE +1 ; +if (STATE (con) ==RFCON_CLOSED ) {ENTERSTATE (con,RFCON_W4_CONRSP ); con->dlci |= (!sn->initiator &0x01 );/* session bit */
kernel/include/affix/rfcomm.h +4 -4
@@ -19,7 +19,7 @@*/ /* -$Id: rfcomm.h,v 1.21 2002/01/25 14:25:58 kds Exp $ +$Id: rfcomm.h,v 1.24 2002/02/04 08:33:22 kds Exp $ RFCOMM - RFCOMM protocol for Bluetooth
@@ -169,10 +169,10 @@u8 value[0 ]; }__PACK__ mcc_frame; -typedef struct cmd_msg { +typedef struct cmd_frame {short_frame short_pkt;mcc_frame mcc_pkt; -}__PACK__ cmd_msg; +}__PACK__ cmd_frame;/* Multiplexer Control Channel Commands */
@@ -720,7 +720,7 @@extern inline struct sk_buff *rfcomm_alloc_cmd_skb (rfcomm_sn *sn,int cmdlen) {struct sk_buff *skb; -int hdrlen = sn->hdrlen +sizeof (cmd_msg); +int hdrlen = sn->hdrlen +sizeof (cmd_frame);if ( cmdlen+sizeof (mcc_frame) >SHORT_PAYLOAD_SIZE ) hdrlen++;
New Affix Release: Affix-0_91 -> PAN support
In reply to Dmitry KasatkinHi,
Find new affix release Affix-0_91 on
http://affix.sourceforge.net
Version 0.91 [07.02.2002]
- added /etc/modutuls/affix to automate modules load
- RFCOMM moved to separated module
- added PAN profile
- modules names changes -->> check README (modify /etc/pcmcia/config)
br, Dmitry
Signature · 4 lines
Dmitry Kasatkin Nokia Research Center / Helsinki Mobile: +358 50 4836365 E-Mail: [email protected]
Re: New Affix Release: Affix-0_91 -> PAN support
In reply to Dmitry KasatkinHI,
Kernel paches works as well
br, Dmitry
Quoted 13 lines · Dmitry Kasatkin
Hi,
Find new affix release Affix-0_91 on
http://affix.sourceforge.netVersion 0.91 [07.02.2002]
- added/etc/modutuls/affixto automate modules load
- RFCOMM moved to separated module
- added PAN profile
- modules names changes -->> check README (modify/etc/pcmcia/config)br, Dmitry
Signature · 4 lines
Dmitry Kasatkin Nokia Research Center / Helsinki Mobile: +358 50 4836365 E-Mail: [email protected]
New Affix Release: Affix-0_92
In reply to Dmitry KasatkinHi,
Find new affix release Affix-0_92 on
http://affix.sourceforge.net
Version 0.92 [15.02.2002]
- UART protocol fixed
setup proper uart parameters to make uart working example:
stty -F /dev/ttyS0 -crtscts ispeed 57600 ospeed 57600 btctl open_uart /dev/ttyS0
Tested with Philips Truebaby module.
br, Dmitry
Signature · 4 lines
Dmitry Kasatkin Nokia Research Center / Helsinki Mobile: +358 50 4836365 E-Mail: [email protected]
New Affix Release: Affix-0_93
In reply to Dmitry KasatkinHi all,
Find new affix release Affix-0_93 on
http://affix.sourceforge.net
Version 0.93 [22.02.2002]
- [fix] extern inline replaced by static inline
prevent un-optimized compilation problem
- [new] usb driver support any bluetooth deivices
- [fix] btsdp_browse connection establishment
- [new] L2CAP socket can be connected through any Bluetooth adapter
sockaddr_l2cap {
... old fields..
BD_ADDR local;
}
set *local* to Bluetooth address of the adapter to connect through.
or BDADDR_ANY- [fix] hci devices are removing well on *btctl close_uart *
- [fix] added locks for l2cap objects
- [fix] compilation problem for older kernel (2.4.7 at least) - headers ...
Br, Dmitry
Signature · 4 lines
Dmitry Kasatkin Nokia Research Center / Helsinki Mobile: +358 50 4836365 E-Mail: [email protected]
New Affix Release: Affix-0_94
In reply to Dmitry KasatkinHi all,
Find new affix release Affix-0_94 on
http://affix.sourceforge.net
Version 0.94 [01.03.2002]
- [changes] /etc/bluetooth -> /etc/affix
- [changes] scripts names in /etc/pcmcia
needs to update /etc/pcmcia/config
consult README
- [new] commands: addpin (sinonym for pincode), rmpin, unbond, pkt_type
br, Dmitry
Signature · 4 lines
Dmitry Kasatkin Nokia Research Center / Helsinki Mobile: +358 50 4836365 E-Mail: [email protected]
New Affix Release: Affix-0_95 --- Bluetooth Protocol Stack
In reply to Dmitry KasatkinHi All.
Find new affix release Affix-0_94 on
http://affix.sourceforge.net
Version 0.95 [07.03.2002]
- [fix] changes in /etc/pcmcia/config file
device "affix_uart" to device "affix_uart_cs" bind "affix_uart" to bind "affix_uart_cs" PCMCIA does not work correctly in previouse case
- [new] btctl prints features suported by the module (Audio,...)
- [fix] SDP stuff has been fixed to be compiled with C compiler
- [fix] extra locks added to l2cap and rfcomm modules
- [fix] module counters fixed
br, Dmitry
Signature · 4 lines
Dmitry Kasatkin Nokia Research Center / Helsinki Mobile: +358 50 4836365 E-Mail: [email protected]
New Affix Release: Affix-0_96 --- Bluetooth Protocol Stack. GUI available now.
In reply to Dmitry KasatkinHi All.
Find new affix release Affix-0_96 on http://affix.sourceforge.net
This version has stability improvement.
GUI environment A.F.E - Affix Frontend Environment available for use.
http://affix.sourceforge.net/afe
Link can be found on Affix WEB site in *Links* section.
Version 0.96 [15.03.2002]
- [new] added field *local* to sockaddr_rfcomm to connect through
certain Bluetooth adapter
sockaddr_rfcomm {
... old fields..
BD_ADDR local;
}
set *local* to Bluetooth address of the adapter to connect through.
or BDADDR_ANY- [new] SDP server works based on MTU
- [fix] SDP Continuation mecahnism - problems on client side. Did not work at all. (e.g. with Ericsson phone)
- [new] btctl prints Affix version
br, Dmitry
Signature · 4 lines
Dmitry Kasatkin Nokia Research Center / Helsinki Mobile: +358 50 4836365 E-Mail: [email protected]
New Affix Release: Affix-0_97 --- Bluetooth Protocol Stack. OBEX and GUI available now.
In reply to Dmitry KasatkinHi All.
Find new affix release Affix-0_97 on http://affix.sourceforge.net
*with OBEX client *
GUI environment A.F.E - Affix Frontend Environment available for use.
http://affix.sourceforge.net/afe
Link can be found on Affix WEB site in *Links* section.
Version 0.97 [28.03.2002]
- [new] added OBEX File Transfer support (ls, put, get) commands
- [new] added "browse" command to btctl for service browsing
- [new] added "search" command to btctl for service searching
It works well with Windows Stack from DigiAnswer.
Windows stack does not use PublicBrowseGroup
- [new] server channel for *connect* and OBEX commands is extracted from SDP server to disable this behavior use "-s" or "--nosdp" options
- [fix] OBEX server fixed. it works now.
- [new] kernel 2.4.18 fixed
- [fix] device registration/unregistration in PAN
br, Dmitry
Signature · 4 lines
Dmitry Kasatkin Nokia Research Center / Helsinki Mobile: +358 50 4836365 E-Mail: [email protected]
New Affix Release: Affix-0_98 --- Bluetooth Protocol Stack. OBEX and GUI available now.
In reply to Dmitry KasatkinHi All.
Find new affix release Affix-0_98 on http://affix.sourceforge.net
*with OBEX client *
Now it's possible to send pictures to the Mobile Phone.
GUI environment A.F.E - Affix Frontend Environment available for use.
http://affix.sourceforge.net/afe
Link can be found on Affix WEB site in *Links* section.
Version 0.98 [05.04.2002]
- [new] added *push* command for pushing objects.
E.g. I pushed background pictures for Ericsson T68 phone (picture should be in GIF format for Ericsson phone). btctl push 00:80:37:ee:38:9f test1.gif
- [fix] added service type to connect to to *btctl connect* command btctl connect <bda> SERial|LAN|DUP
check *btctl -h*
- [fix] SDP service search and attribute request can be done on the same L2CAP connection
- [fix] some OBEX fixes
br, Dmitry
[new release] Affix-0_99 --- Bluetooth Protocol Stack. OBEX and GUI available now.
In reply to Dmitry KasatkinHi All.
Find new Affix release Affix-0_99 on http://affix.sourceforge.net
Profiles supported:
- Service Discovery.
- Serial Port.
- LAN Access.
- Dialup Networking.
- OBEX Object Push.
- OBEX File Transfer.
- PAN.
GUI environment A.F.E - Affix Frontend Environment available for use.
http://affix.sourceforge.net/afe
Link can be found on Affix WEB site in *Links* section.
CHANGES.
Version 0.99 [14.04.2002]
- [fix/changes] some SDP parts re-written.
- [changes] sockaddr_{hci,l2cap,rfcomm} repleaced by *sockaddr_affix* !NOTE: it requires to recompile and reinstall whole affix
- [new] *btctl* has now *prompt* (ftp) command - interactive shell & File Transfer Console (OBEX).
- [new] OBEX client now full featured (in ftp mode).
commands: open, close, put, get, push, rm, cd, mkdir
- [new] Linux kernel 2.5.x supported (not well tested)
- [new] added new info to README (usage examples, commands explanation).
br, Dmitry
[new release] Affix-1_00pre1 --- Bluetooth Protocol Stack. + initial Audio Support
In reply to Dmitry KasatkinHi All.
Find new Affix release Affix-1_00 on http://affix.sourceforge.net
USB support improved... Works with more devices.
Profiles supported:
- Service Discovery.
- Serial Port.
- LAN Access.
- Dialup Networking.
- OBEX Object Push.
- OBEX File Transfer.
- PAN.
GUI environment A.F.E - Affix Frontend Environment available for use.
http://affix.sourceforge.net/afe
Link can be found on Affix WEB site in *Links* section.
Version 1.0pre1 [24.05.2002]
- [new] Added Audio support - SCO connections. Initial version.
- [changes] openobex removed from project. *openobex* has to be downlaod separately from:
http://sourceforge.net/projects/openobex/
or if you are Debian user just:
apt-get install libopenobex1
apt-get install libopenobex-dev
- [fix/changes] USB driver modified. It reads EP addresses from the device. It now support some non-standard devices.
- [fix] some fixes in uart driver.
- [fix] CC in config.in can be set to properly compile by different compiler. (by cross compiler)
br, Dmitry
Signature · 4 lines
Dmitry Kasatkin Nokia Research Center / Helsinki Mobile: +358 50 4836365 E-Mail: [email protected]
[new release] Affix-1_00pre2 --- Bluetooth Protocol Stack. + new drivers for Anycom and 3COM
In reply to Dmitry KasatkinHi All,
Find new Affix release Affix-1_00pre2 on http://affix.sourceforge.net
It has improved UART, USB and extra drivers.
Anycom cards supported
Version 1.0pre2 [31.05.2002]
- [new] new drivers for *bluecard* cards (Anycom) and 3COM cards
- [new] cross-compiling support (ARM, PowerPC,...)
- [new] *open_uart* accept speed (no need to call stty)
- [fix] affix_uart support Xircom cards
- [changes] libbt*.so libs moved to libaffix*.so
- [fix] now can be compiled on kernels <= 2.4.6
Profiles supported:
- Service Discovery.
- Serial Port.
- LAN Access.
- Dialup Networking.
- OBEX Object Push.
- OBEX File Transfer.
- PAN.
GUI environment A.F.E - Affix Frontend Environment available for use.
http://affix.sourceforge.net/afe
Link can be found on Affix WEB site in *Links* section.
br, Dmitry
+358 50 4836365
Re: [new release] Affix-1_00pre2 --- Bluetooth Protocol Stack. + newdrivers for Anycom and 3COM
In reply to Dmitry KasatkinHi,
Small patch. Otherwise PCMCIA will not work (modules went to invalid place).
br, Dmitry
Quoted 35 lines · Kasatkin Dmitry (NRC/Helsinki)
Hi All,
Find new Affix release Affix-1_00pre2 on http://affix.sourceforge.net
It has improved UART, USB and extra drivers.
Anycom cards supportedVersion 1.0pre2 [31.05.2002]
- [new] new drivers for *bluecard* cards (Anycom) and 3COM cards
- [new] cross-compiling support (ARM, PowerPC,...)
- [new] *open_uart* accept speed (no need to call stty)
- [fix]affix_uartsupport Xircom cards
- [changes] libbt*.so libs moved to libaffix*.so
- [fix] now can be compiled on kernels <= 2.4.6Profiles supported:
- Service Discovery.
- Serial Port.
- LAN Access.
- Dialup Networking.
- OBEX Object Push.
- OBEX File Transfer.
- PAN.GUI environment A.F.E - Affix Frontend Environment available for use.
http://affix.sourceforge.net/afeLink can be found on Affix WEB site in *Links* section.
br, Dmitry
+358 50 4836365
Signature · 4 lines
Dmitry Kasatkin Nokia Research Center / Helsinki Mobile: +358 50 4836365 E-Mail: [email protected]
Configure +30 -39
@@ -19,7 +19,7 @@ # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # -# $Id: Configure,v 2.48 2002/06/01 00:07:45 kds Exp $ +# $Id: Configure,v 2.50 2002/06/03 10:48:41 kds Exp $ # # Configuration script (adopted from PCMCIA package) #
@@ -403,19 +403,12 @@ if [ "$CONFIG_MODVERSIONS" = "y" ] ; then - if [ $CONF_SRC != 1 ] ; then MODVER="$LINUX/include/linux/$MODVER" if [ ! -r "$MODVER" ] ; then echo "$MODVER does not exist!" echo " To fix, run 'make dep' in $LINUX." fail fi - else - # use running kernel - mv $MODVER include/affix - ln -sf ../../../include/affix/$MODVER ./kernel/include/linux/$MODVER - MODVER="$BTDIR/kernel/include/linux/$MODVER" - fi else rm -f $MODVER fi
@@ -474,6 +467,34 @@ CPPFLAGS_KERNEL="$CPPFLAGS_KERNEL -D__KERNEL__ -DMODULE $MFLAG" LDFLAGS="${CROSS_LDFLAGS:-}" +#======================================================================= + +# How should the startup scripts be configured? + +if [ "$PREFIX" = "" ] ; then + if [ -d /sbin/init.d -o -d /etc/rc.d/init.d -o -d /etc/init.d ] ; then + echo "It looks like you have a System V init file setup." + SYSV_INIT=y + if [ -d /sbin/init.d ] ; then + RC_DIR=/sbin/init.d + elif [ -d /etc/rc.d/init.d ] ; then + RC_DIR=/etc/rc.d + else + RC_DIR=/etc + fi + else + echo "It looks like you have a BSD-ish init file setup." + SYSV_INIT= + fi +else + ask_bool "System V init script layout" SYSV_INIT + if [ "$SYSV_INIT" = "y" ] ; then + ask_str "Top-level directory for RC scripts" RC_DIR + fi +fi + +echo "" + #=======================================================================
@@ -503,42 +524,12 @@ write_str_ne $x done for x in CROSS_COMPILE CROSS_CPPFLAGS CROSS_LDFLAGS \ - BTDIR LINUX PREFIX PROGDIR LIBDIR RCDIR ARCH HOST_ARCH \ + BTDIR LINUX PREFIX PROGDIR MODDIR LIBDIR RCDIR ARCH HOST_ARCH SYSV_INIT RC_DIR \ CPPFLAGS_KERNEL CPPFLAGS CFLAGS LDFLAGS CPPFLAGS_GLIB LDFLAGS_GLIB \ CPPFLAGS_OBEX LDFLAGS_OBEX; do write_str_cfg $x done write_nl - -#======================================================================= - -# How should the startup scripts be configured? - -if [ "$PREFIX" = "" ] ; then - if [ -d /sbin/init.d -o -d /etc/rc.d/init.d -o -d /etc/init.d ] ; then - echo "It looks like you have a System V init file setup." - SYSV_INIT=y - if [ -d /sbin/init.d ] ; then - RC_DIR=/sbin/init.d - elif [ -d /etc/rc.d/init.d ] ; then - RC_DIR=/etc/rc.d - else - RC_DIR=/etc - fi - else - echo "It looks like you have a BSD-ish init file setup." - SYSV_INIT= - fi - write_bool SYSV_INIT - if [ "$SYSV_INIT" = "y" ] ; then write_str_cfg RC_DIR ; fi -else - ask_bool "System V init script layout" SYSV_INIT - if [ "$SYSV_INIT" = "y" ] ; then - ask_str "Top-level directory for RC scripts" RC_DIR - fi -fi - -echo "" #=======================================================================
etc/Makefile +2 -2
@@ -18,7 +18,7 @@ # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # -# $Id: Makefile,v 1.25 2002/05/30 22:44:35 kds Exp $ +# $Id: Makefile,v 1.26 2002/06/03 10:34:36 kds Exp $ # # Makefile for installing scripts #
@@ -50,7 +50,7 @@ install -m 0755 -d $(PREFIX)/etc/ppp/ip-down.d install -m 0555 ./affix/masq-down $(PREFIX)/etc/ppp/ip-down.d - if [ -d /etc/modutils ] ; then \ + @if [ -d /etc/modutils ] ; then \ install -m 0644 ./modutils /etc/modutils/affix; \ update-modules; \ fi
[recall] for patch
In reply to Dmitry KasatkinHi,
Please ignore the Affix-1_00pre2.patch
Use this one
Affix-1_00pre2.patch.1
br, Dmitry
Quoted 179 lines · Dmitry Kasatkin
Hi,
Small patch. Otherwise PCMCIA will not work (modules went to invalid place).
br, Dmitry
Quoted 25 lines · Kasatkin Dmitry (NRC/Helsinki)
Hi All,
Find new Affix release Affix-1_00pre2 on http://affix.sourceforge.net
It has improved UART, USB and extra drivers.
Anycom cards supportedVersion 1.0pre2 [31.05.2002]
- [new] new drivers for *bluecard* cards (Anycom) and 3COM cards
- [new] cross-compiling support (ARM, PowerPC,...)
- [new] *open_uart* accept speed (no need to call stty)
- [fix]affix_uartsupport Xircom cards
- [changes] libbt*.so libs moved to libaffix*.so
- [fix] now can be compiled on kernels <= 2.4.6Profiles supported:
- Service Discovery.
- Serial Port.
- LAN Access.
- Dialup Networking.
- OBEX Object Push.
- OBEX File Transfer.
- PAN.Quoted 10 lines
GUI environment A.F.E - Affix Frontend Environment available for use.
http://affix.sourceforge.net/afeLink can be found on Affix WEB site in *Links* section.
br, Dmitry
+358 50 4836365------------------------------------------------------------------------
diff -Naur Affix-1_00pre2/Configure affix/Configure
Configure +30
-39@@ -19,7 +19,7 @@ # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # -# $Id: Configure,v 2.48 2002/06/01 00:07:45 kds Exp $ +# $Id: Configure,v 2.50 2002/06/03 10:48:41 kds Exp $ # # Configuration script (adopted from PCMCIA package) #@@ -403,19 +403,12 @@ if [ "$CONFIG_MODVERSIONS" = "y" ] ; then - if [ $CONF_SRC != 1 ] ; then MODVER="$LINUX/include/linux/$MODVER" if [ ! -r "$MODVER" ] ; then echo "$MODVER does not exist!" echo " To fix, run 'make dep' in $LINUX." fail fi - else - # use running kernel - mv $MODVER include/affix - ln -sf ../../../include/affix/$MODVER ./kernel/include/linux/$MODVER - MODVER="$BTDIR/kernel/include/linux/$MODVER" - fi else rm -f $MODVER fi@@ -474,6 +467,34 @@ CPPFLAGS_KERNEL="$CPPFLAGS_KERNEL -D__KERNEL__ -DMODULE $MFLAG" LDFLAGS="${CROSS_LDFLAGS:-}" +#======================================================================= + +# How should the startup scripts be configured? + +if [ "$PREFIX" = "" ] ; then + if [ -d /sbin/init.d -o -d /etc/rc.d/init.d -o -d /etc/init.d ] ; then + echo "It looks like you have a System V init file setup." + SYSV_INIT=y + if [ -d /sbin/init.d ] ; then + RC_DIR=/sbin/init.d + elif [ -d /etc/rc.d/init.d ] ; then + RC_DIR=/etc/rc.d + else + RC_DIR=/etc + fi + else + echo "It looks like you have a BSD-ish init file setup." + SYSV_INIT= + fi +else + ask_bool "System V init script layout" SYSV_INIT + if [ "$SYSV_INIT" = "y" ] ; then + ask_str "Top-level directory for RC scripts" RC_DIR + fi +fi + +echo "" + #=======================================================================@@ -503,42 +524,12 @@ write_str_ne $x done for x in CROSS_COMPILE CROSS_CPPFLAGS CROSS_LDFLAGS \ - BTDIR LINUX PREFIX PROGDIR LIBDIR RCDIR ARCH HOST_ARCH \ + BTDIR LINUX PREFIX PROGDIR MODDIR LIBDIR RCDIR ARCH HOST_ARCH SYSV_INIT RC_DIR \ CPPFLAGS_KERNEL CPPFLAGS CFLAGS LDFLAGS CPPFLAGS_GLIB LDFLAGS_GLIB \ CPPFLAGS_OBEX LDFLAGS_OBEX; do write_str_cfg $x done write_nl - -#======================================================================= - -# How should the startup scripts be configured? - -if [ "$PREFIX" = "" ] ; then - if [ -d /sbin/init.d -o -d /etc/rc.d/init.d -o -d /etc/init.d ] ; then - echo "It looks like you have a System V init file setup." - SYSV_INIT=y - if [ -d /sbin/init.d ] ; then - RC_DIR=/sbin/init.d - elif [ -d /etc/rc.d/init.d ] ; then - RC_DIR=/etc/rc.d - else - RC_DIR=/etc - fi - else - echo "It looks like you have a BSD-ish init file setup." - SYSV_INIT= - fi - write_bool SYSV_INIT - if [ "$SYSV_INIT" = "y" ] ; then write_str_cfg RC_DIR ; fi -else - ask_bool "System V init script layout" SYSV_INIT - if [ "$SYSV_INIT" = "y" ] ; then - ask_str "Top-level directory for RC scripts" RC_DIR - fi -fi - -echo "" #=======================================================================diff -Naur Affix-1_00pre2/etc/Makefile affix/etc/Makefile
etc/Makefile +2
-2@@ -18,7 +18,7 @@ # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # -# $Id: Makefile,v 1.25 2002/05/30 22:44:35 kds Exp $ +# $Id: Makefile,v 1.26 2002/06/03 10:34:36 kds Exp $ # # Makefile for installing scripts #@@ -50,7 +50,7 @@ install -m 0755 -d $(PREFIX)/etc/ppp/ip-down.d install -m 0555 ./affix/masq-down $(PREFIX)/etc/ppp/ip-down.d - if [ -d /etc/modutils ] ; then \ + @if [ -d /etc/modutils ] ; then \ install -m 0644 ./modutils /etc/modutils/affix; \ update-modules; \ fi
Signature · 4 lines
Dmitry Kasatkin Nokia Research Center / Helsinki Mobile: +358 50 4836365 E-Mail: [email protected]
Configure +30 -39
@@ -19,7 +19,7 @@ # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # -# $Id: Configure,v 2.48 2002/06/01 00:07:45 kds Exp $ +# $Id: Configure,v 2.50 2002/06/03 10:48:41 kds Exp $ # # Configuration script (adopted from PCMCIA package) #
@@ -403,19 +403,12 @@ if [ "$CONFIG_MODVERSIONS" = "y" ] ; then - if [ $CONF_SRC != 1 ] ; then MODVER="$LINUX/include/linux/$MODVER" if [ ! -r "$MODVER" ] ; then echo "$MODVER does not exist!" echo " To fix, run 'make dep' in $LINUX." fail fi - else - # use running kernel - mv $MODVER include/affix - ln -sf ../../../include/affix/$MODVER ./kernel/include/linux/$MODVER - MODVER="$BTDIR/kernel/include/linux/$MODVER" - fi else rm -f $MODVER fi
@@ -474,6 +467,34 @@ CPPFLAGS_KERNEL="$CPPFLAGS_KERNEL -D__KERNEL__ -DMODULE $MFLAG" LDFLAGS="${CROSS_LDFLAGS:-}" +#======================================================================= + +# How should the startup scripts be configured? + +if [ "$PREFIX" = "" ] ; then + if [ -d /sbin/init.d -o -d /etc/rc.d/init.d -o -d /etc/init.d ] ; then + echo "It looks like you have a System V init file setup." + SYSV_INIT=y + if [ -d /sbin/init.d ] ; then + RC_DIR=/sbin/init.d + elif [ -d /etc/rc.d/init.d ] ; then + RC_DIR=/etc/rc.d + else + RC_DIR=/etc + fi + else + echo "It looks like you have a BSD-ish init file setup." + SYSV_INIT= + fi +else + ask_bool "System V init script layout" SYSV_INIT + if [ "$SYSV_INIT" = "y" ] ; then + ask_str "Top-level directory for RC scripts" RC_DIR + fi +fi + +echo "" + #=======================================================================
@@ -503,42 +524,12 @@ write_str_ne $x done for x in CROSS_COMPILE CROSS_CPPFLAGS CROSS_LDFLAGS \ - BTDIR LINUX PREFIX PROGDIR LIBDIR RCDIR ARCH HOST_ARCH \ + BTDIR LINUX PREFIX PROGDIR MODDIR LIBDIR RCDIR ARCH HOST_ARCH SYSV_INIT RC_DIR \ CPPFLAGS_KERNEL CPPFLAGS CFLAGS LDFLAGS CPPFLAGS_GLIB LDFLAGS_GLIB \ CPPFLAGS_OBEX LDFLAGS_OBEX; do write_str_cfg $x done write_nl - -#======================================================================= - -# How should the startup scripts be configured? - -if [ "$PREFIX" = "" ] ; then - if [ -d /sbin/init.d -o -d /etc/rc.d/init.d -o -d /etc/init.d ] ; then - echo "It looks like you have a System V init file setup." - SYSV_INIT=y - if [ -d /sbin/init.d ] ; then - RC_DIR=/sbin/init.d - elif [ -d /etc/rc.d/init.d ] ; then - RC_DIR=/etc/rc.d - else - RC_DIR=/etc - fi - else - echo "It looks like you have a BSD-ish init file setup." - SYSV_INIT= - fi - write_bool SYSV_INIT - if [ "$SYSV_INIT" = "y" ] ; then write_str_cfg RC_DIR ; fi -else - ask_bool "System V init script layout" SYSV_INIT - if [ "$SYSV_INIT" = "y" ] ; then - ask_str "Top-level directory for RC scripts" RC_DIR - fi -fi - -echo "" #=======================================================================
README +7 -1
@@ -213,7 +213,11 @@ 6) Update system configuration. - For PCMCIA Bluetooth devices: - For Nokia Connectivity Card the following lines should added to + Affix installer copies configuration files from etc/pcmcia to + /etc/pcmcia for all supported PCMCIA devices. Check if your PCMCIA + configuration read those files automaticaly. + Otherwise you need add some configuration options manually, e.g. + for Nokia DTL-1/DTL-4 the following lines should added to the /etc/pcmcia/config file: a) to the device driver definitions device "affix_uart_cs"
@@ -222,6 +226,8 @@ card "Nokia Mobile Phones DTL-1" manfid 0x0124, 0x1000 bind "affix_uart_cs" + + ->> Please check etc/pcmcia of all available options. - For USB Bluetooth devices: Install the hot-plug package if automatic loading of the "affix_usb.o"
etc/Makefile +2 -2
@@ -18,7 +18,7 @@ # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # -# $Id: Makefile,v 1.25 2002/05/30 22:44:35 kds Exp $ +# $Id: Makefile,v 1.26 2002/06/03 10:34:36 kds Exp $ # # Makefile for installing scripts #
@@ -50,7 +50,7 @@ install -m 0755 -d $(PREFIX)/etc/ppp/ip-down.d install -m 0555 ./affix/masq-down $(PREFIX)/etc/ppp/ip-down.d - if [ -d /etc/modutils ] ; then \ + @if [ -d /etc/modutils ] ; then \ install -m 0644 ./modutils /etc/modutils/affix; \ update-modules; \ fi
kernel/Makefile +2 -2
@@ -18,7 +18,7 @@ # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # -# $Id: Makefile,v 2.32 2002/05/31 15:23:29 kds Exp $ +# $Id: Makefile,v 2.33 2002/06/03 11:57:38 kds Exp $ # # Makefile for compiling core module of the bluetooth stack #
@@ -73,7 +73,7 @@ DMODULE = affix.o all: subdirs $(MODULE) - echo $(DIRS) +# echo $(DIRS) subdirs: @set -e; for d in $(DIRS); do $(MAKE) -C $$d all; done
kernel/btcore/hci_mgr.c +1 -5
@@ -19,7 +19,7 @@*/ /* -$Id: hci_mgr.c,v 2.58 2002/05/31 15:23:29 kds Exp $ +$Id: hci_mgr.c,v 2.59 2002/06/03 11:57:38 kds Exp $ HCI Manager
@@ -600,7 +600,6 @@btl_head_init (&btdevs);#if LINUX_VERSION_CODE <KERNEL_VERSION (2 ,4 ,7 ) -down (&exit_sema);/* start thread here */ pid =kernel_thread (mgr_thread,NULL ,0 );#else
@@ -627,9 +626,6 @@ {DBFENTER ; -#if LINUX_VERSION_CODE >=KERNEL_VERSION (2 ,4 ,7 ) -down (&exit_sema); -#endif if ( pid !=-1 ) {kill_proc (pid,SIGTERM ,1 );down (&exit_sema);
kernel/include/affix/bluez.h +2 -0
@@ -173,6 +173,8 @@return 0 ;netif_stop_queue (hdev->dev); +tasklet_kill (&hdev->tx_task); +skb_queue_purge (&hdev->txq); err = hdev->close (hdev);return err;
[new release] Affix-1_00pre3 --- The most powerfull Bluetooth Protocol Stack.
In reply to Dmitry KasatkinHi All,
Find new Affix release Affix-1_00pre3 on http://affix.sourceforge.net
It has improved UART, USB and extra drivers.
Anycom, 3COM, Xircom works now.
Socket CF works
Version 1.0pre3 [06.06.2002]
- [fix] l2cap state machine
- [new] *btctl* now remembers found devices - device cache.
*btctl list* - to see the list
*btctl flush* - to forget it
*btctl connect <id> ...
actually id can be provided instead bda in every command.
- [new] any driver from BlueZ can be compiled in Affix. Just include <affix/bluez.h> instead <net/bluetooth/*.h>
- [fix] work on kernels < 2.4.7
- [fix] Socket CF card works now perfectly.
(Socket changed device id to new one - it caused the problem)
- [new] Affix install pcmcia config file *.conf to /etc/pcmcia so that they are read automaticaly - no needs to change /etc/pcmcia/config
- [new] new features for *btctl open_uart*:
*btctl open_uart <device> <speed>
- [fix] Xircom card works now.
- [new] obex-server can work with different root-folders (AFE support)
- [new] btsdp starts automatically (SDPInit(SDP_SVC_PROVIDER)). so btsdp starts when btsrv does.
- [new] *btctl* andestand mnemonics for dev classes and shows it.
Affix works on platforms (tested):
- i386.
- ARM (e.g. Compaq iPac).
- PowerPC (e.g. iMac).
Affix currently supports the following Bluetooth Profiles:
- General Access Profie
- Service Discovery Profile
- Serial Port Profile
- DialUp Networking Profile
- LAN Access Profile
- OBEX Object Push Profile
- OBEX File Transfer Profile
- PAN Profile
GUI environment A.F.E - Affix Frontend Environment available for use.
http://affix.sourceforge.net/afe
Link can be found on Affix WEB site in *Links* section.
br, Dmitry
Nokia Research
+358 50 4836365
[new release - stable] Affix-1_00pre4 --- The most powerfull Bluetooth Protocol Stack.
In reply to Dmitry KasatkinHi All,
Find new Affix release Affix-1_00pre4 on http://affix.sourceforge.net
This is stable version.
See News Section.
Version 1.0pre4 [15.06.2002]
- [fix] rfcomm fixed. freeze happened in some situation.
- [fix] affix_rfcomm.o module use counter could have negative value
- [fix] btctl cache support fixed. it works
- [fix] some other fixes stability fixes
Affix works on platforms (tested):
- i386.
- ARM (e.g. Compaq iPac).
- PowerPC (e.g. iMac).
Affix currently supports the following Bluetooth Profiles:
- General Access Profie
- Service Discovery Profile
- Serial Port Profile
- DialUp Networking Profile
- LAN Access Profile
- OBEX Object Push Profile
- OBEX File Transfer Profile
- PAN Profile
GUI environment A.F.E - Affix Frontend Environment available for use.
http://affix.sourceforge.net/afe
Link can be found on Affix WEB site in *Links* section.
br, Dmitry
Nokia Research
+358 50 4836365
[news] Affix on iPAQ
Hi,
Affix on iPAQ is ready.
http://affix.sourceforge.net/ipaq.shtml
AFE updated for Pocket devices.
br, Dmitry
Signature · 4 lines
Dmitry Kasatkin Nokia Research Center / Helsinki Mobile: +358 50 4836365 E-Mail: [email protected]
PATCH 1/1 Affix on iPAQ
Hi,
Please download new patch for Affix
br, Dmitry
Signature · 4 lines
Dmitry Kasatkin Nokia Research Center / Helsinki Mobile: +358 50 4836365 E-Mail: [email protected]
[new release - stable] Affix-1_00pre5 --- The most powerfull Bluetooth Protocol Stack.
In reply to Dmitry KasatkinHi All,
Find new Affix release Affix-1_00pre5 on http://affix.sourceforge.net
This is stable version. See News Section.
New features:
- iMac, iPaq tested.
- obex fixed.
- packages for iPaq -> http://affix.sourceforge.net/ipaq.shtml
Version 1.0pre5 [24.06.2002]
- [new] *open_uart* enhanced to support vendor dependend initialization btctl open_uart <vendor> <speed> <flags>
- [fix] minor rfcomm fixes.
- [fix] btobex fixed. It was not working after in *pre3/4* because of one bug
- [fix] btctl inquiry cache finaly fixed.
- [fix] SDP fixed to correctly work on ARM/SPARC/PPC architectures
- [changes] SDP file structure changed. Header files moved to affix client need to include sdp.h, sdpclt.h and sdpsrv.h
- [changes] user space apps. shall use only <affix/btcore.h>
do not use <affix/hci.h>
Affix works on platforms (tested):
- i386.
- ARM (e.g. Compaq iPac).
- PowerPC (e.g. iMac).
Affix currently supports the following Bluetooth Profiles:
- General Access Profie
- Service Discovery Profile
- Serial Port Profile
- DialUp Networking Profile
- LAN Access Profile
- OBEX Object Push Profile
- OBEX File Transfer Profile
- PAN Profile
GUI environment A.F.E - Affix Frontend Environment available for use.
http://affix.sourceforge.net/afe
Link can be found on Affix WEB site in *Links* section.
br, Dmitry
Signature · 5 lines
Dmitry Kasatkin Nokia Research Center / Helsinki *Affix* Project Coordinator (http://affix.sourceforge.net) Mobile: +358 50 4836365 E-Mail: [email protected]
[new release] Affix-1_00pre6 --- The most powerfull Bluetooth Protocol Stack.
Hi All,
Find new Affix release Affix-1_00pre6 on http://affix.sourceforge.net
Latest News
* [06.07.2002] New Affix Release - Affix-1_00pre6. (see Changelog)).
* [05.06.2002] Affix Debain packages from Mario Joussen. Add following lines to sources.list:
deb http://people.debian.org/~joussen/unofficial unstable . deb-src http://people.debian.org/~joussen/unofficial unstable .
New features:
- iMac, iPaq tested.
- packages for iPaq -> http://affix.sourceforge.net/ipaq.shtml
- Audio suppored (in/out modes)
Version 1.0pre6 [06.07.2002]
- [new] libaffix*.so now has version
- [new] added *cleanold* rule to Makefile to remove old versions of the files
- [fix] OBEX server and client fixed and improved.
- [new] *put*, *get*, and *push* commands measure the transfer speed
- [new] btctl got new commands: *ping* and *sping*
*sping* measures transfer speed in one direction
- [new] affix_usb able to send audio data to Bluetooth module
- [new] added new library *affix_utils* and some functions moved there
- [fix] some minor fixes over the code
Affix works on platforms (tested):
- i386.
- ARM (e.g. Compaq iPac).
- PowerPC (e.g. iMac).
Affix currently supports the following Bluetooth Profiles:
- General Access Profie
- Service Discovery Profile
- Serial Port Profile
- DialUp Networking Profile
- LAN Access Profile
- OBEX Object Push Profile
- OBEX File Transfer Profile
- PAN Profile
GUI environment A.F.E - Affix Frontend Environment available for use.
http://affix.sourceforge.net/afe
Link can be found on Affix WEB site in *Links* section.
br, Dmitry
Signature · 5 lines
Dmitry Kasatkin Nokia Research Center / Helsinki Affix Project Leader Mobile: +358 50 4836365 E-Mail: [email protected]
[new release] Affix-1.0.0pre7 --- The most powerfull Bluetooth Protocol Stack.
Hi All,
Find new Affix release Affix-1.0.0pre7 on http://affix.sourceforge.net
Now it consist of two separated packages: *affix* and *affix-kernel*.
affix-kernel provides kernel level stuff.
affix provides user level stuff.
In order to compile *affix* package necessary to install *affix-kernel* package.
Version 1.0.0pre7 [15.07.2002]
- [fix] clean resources correctrly on unsuccessfull connection
- [fix] PCMCIA cards fix... works...
Try it.
br, Dmitry
Signature · 5 lines
Dmitry Kasatkin Nokia Research Center / Helsinki *Affix* Project Leader (http://affix.sourceforge.net) Mobile: +358 50 4836365 E-Mail: [email protected]