I am programming scripts with tenScripting in Visual basic 2010. And got the following error:
Type HSPI_BLDENON.HSPI+pair in assembly hspi_BLDenon, Version=, Culture=neutral, PublicKeyToken=null is not marked as serializable.
Found following forum post with same error for BLRadar. Can you fix it also for BLDenon?

I've received a support request from another user of tenScripting that received the same 'not serializable' error in referenceing the BLRADAR plugin from tenScripting.

He contacted the author, who promptly supplied a revised plugin that WAS marked serializable per the HomeSeer standard, and all is well with referencing BLRADAR from tenScripting.

This might be the solution for Squeezebox.